summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/examples/random.c')
-rw-r--r--misc/examples/random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/random.c b/misc/examples/random.c
index e783fe55..b7c0f277 100644
--- a/misc/examples/random.c
+++ b/misc/examples/random.c
@@ -2,7 +2,7 @@
#include <time.h>
#include <stc/crand.h>
-int main()
+int main(void)
{
const int N = 1000000000;
const uint64_t seed = (uint64_t)time(NULL), range = 1000000;