summaryrefslogtreecommitdiff
path: root/src/rand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rand.c')
-rw-r--r--src/rand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rand.c b/src/rand.c
index 09b0508f1..e1e98e63b 100644
--- a/src/rand.c
+++ b/src/rand.c
@@ -68,7 +68,7 @@
static uint32_t x[3] = { X0, X1, X2 }, a[3] = { A0, A1, A2 }, c = C;
static void next(void);
-int32_t redisLrand48() {
+int32_t redisLrand48(void) {
next();
return (((int32_t)x[2] << (N - 1)) + (x[1] >> 1));
}