summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/random.c
diff options
context:
space:
mode:
authortylov <[email protected]>2023-07-15 23:20:16 +0200
committertylov <[email protected]>2023-07-15 23:20:16 +0200
commite9121702a5d69624ef1e782e85a8f032e4f4e875 (patch)
tree00e7770c9b775d98b518d9e3929b6ec4f71ad754 /misc/examples/random.c
parent23aebb77554bc43c929704e9f1c46dc4520024df (diff)
downloadSTC-modified-e9121702a5d69624ef1e782e85a8f032e4f4e875.tar.gz
STC-modified-e9121702a5d69624ef1e782e85a8f032e4f4e875.zip
Improved warning, and other enhancements in ccommon.h
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;