aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/random.c')
-rw-r--r--cipher/random.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cipher/random.c b/cipher/random.c
index 0aa75cda4..4dd8d54c7 100644
--- a/cipher/random.c
+++ b/cipher/random.c
@@ -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++;