mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-01 16:33:02 +01:00
* random.c: Fix prototype of the fast random gatherer. Noted by Joe
Vender.
This commit is contained in:
parent
34ff103d2a
commit
33f81c5bb6
@ -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>
|
2005-03-23 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* rndw32.c (rndw32_gather_random_fast): While adding data use the
|
* 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;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void (*
|
static int (*
|
||||||
getfnc_fast_random_poll (void))( void (*)(const void*, size_t, int), int)
|
getfnc_fast_random_poll (void))( void (*)(const void*, size_t, int), int)
|
||||||
{
|
{
|
||||||
#ifdef USE_RNDW32
|
#ifdef USE_RNDW32
|
||||||
@ -620,7 +620,7 @@ random_poll()
|
|||||||
void
|
void
|
||||||
fast_random_poll()
|
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;
|
static int initialized = 0;
|
||||||
|
|
||||||
rndstats.fastpolls++;
|
rndstats.fastpolls++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user