mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +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
|
@ -1,3 +1,10 @@
|
|||
2002-04-18 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* 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.
|
||||
|
||||
2002-04-10 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* cipher.c (setup_cipher_table, cipher_open, cipher_encrypt,
|
||||
|
|
|
@ -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 },
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -183,9 +183,9 @@ const char * const gnupgext_version = "RNDLINUX ($Revision$)";
|
|||
static struct {
|
||||
int class;
|
||||
int version;
|
||||
void *func;
|
||||
int (*func)(void);
|
||||
} func_table[] = {
|
||||
{ 40, 1, gather_random },
|
||||
{ 40, 1, (int (*)(void))gather_random },
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -857,9 +857,9 @@ const char * const gnupgext_version = "RNDUNIX ($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