summaryrefslogtreecommitdiffhomepage
path: root/include/stc/crand.h
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 /include/stc/crand.h
parent23aebb77554bc43c929704e9f1c46dc4520024df (diff)
downloadSTC-modified-e9121702a5d69624ef1e782e85a8f032e4f4e875.tar.gz
STC-modified-e9121702a5d69624ef1e782e85a8f032e4f4e875.zip
Improved warning, and other enhancements in ccommon.h
Diffstat (limited to 'include/stc/crand.h')
-rw-r--r--include/stc/crand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/crand.h b/include/stc/crand.h
index 89b681cd..0a6aa9e0 100644
--- a/include/stc/crand.h
+++ b/include/stc/crand.h
@@ -29,7 +29,7 @@
// crand: Pseudo-random number generator
#include "stc/crand.h"
-int main() {
+int main(void) {
uint64_t seed = 123456789;
crand_t rng = crand_init(seed);
crand_unif_t dist1 = crand_unif_init(1, 6);