aboutsummaryrefslogtreecommitdiff
path: root/src/math/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/random.c')
-rw-r--r--src/math/random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/random.c b/src/math/random.c
index 37fd882..44bdb27 100644
--- a/src/math/random.c
+++ b/src/math/random.c
@@ -5,7 +5,7 @@
#include "random.h"
#include <time.h>
-bool random_init() {
+bool random_init(void) {
pari_ulong seed = 0;
// Try urandom first
FILE *rand = fopen("/dev/urandom", "rb");