mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-14 21:47:19 +02:00
* random.c: Fix prototype of the fast random gatherer. Noted by Joe
Vender.
This commit is contained in:
parent
34ff103d2a
commit
33f81c5bb6
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-06-07 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* random.c: Fix prototype of the fast random gatherer. Noted by
|
||||
Joe Vender.
|
||||
|
||||
2005-03-23 Werner Koch <wk@g10code.com>
|
||||
|
||||
* rndw32.c (rndw32_gather_random_fast): While adding data use the
|
||||
|
|
|
@ -183,7 +183,7 @@ getfnc_gather_random (void))(void (*)(const void*, size_t, int), int,
|
|||
return NULL;
|
||||
}
|
||||
|
||||
static void (*
|
||||
static int (*
|
||||
getfnc_fast_random_poll (void))( void (*)(const void*, size_t, int), int)
|
||||
{
|
||||
#ifdef USE_RNDW32
|
||||
|
@ -620,7 +620,7 @@ random_poll()
|
|||
void
|
||||
fast_random_poll()
|
||||
{
|
||||
static void (*fnc)( void (*)(const void*, size_t, int), int) = NULL;
|
||||
static int (*fnc)( void (*)(const void*, size_t, int), int) = NULL;
|
||||
static int initialized = 0;
|
||||
|
||||
rndstats.fastpolls++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue