mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* rndlinux.c, rndegd.c, rndunix.c (func_table): Made func a
function pointer. Note that we still need to change the module interface to cope with data vs function pointer problems. Hmmm, even dlsym has a problem with this.
This commit is contained in:
parent
adc8de23d1
commit
30c8d23aff
4 changed files with 13 additions and 6 deletions
|
@ -215,9 +215,9 @@ const char * const gnupgext_version = "RNDEGD ($Revision$)";
|
|||
static struct {
|
||||
int class;
|
||||
int version;
|
||||
void *func;
|
||||
int (*func)(void);
|
||||
} func_table[] = {
|
||||
{ 40, 1, gather_random },
|
||||
{ 40, 1, (int (*)(void))gather_random },
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue