summaryrefslogtreecommitdiff
path: root/src/stdlib/_rand.h
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-11 19:51:32 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-11 19:51:32 -0400
commitd6127ae58ff3e823773a158a1e79d5999fa7f995 (patch)
treed530dfc9921d566919acf770c4b1ceb0a401a6bf /src/stdlib/_rand.h
parent5d9519b799ac6fb1e2d5bdb3daaf123c1326c0f1 (diff)
move stdlib internals to _stdlib.h and struct __stdlib
Diffstat (limited to 'src/stdlib/_rand.h')
-rw-r--r--src/stdlib/_rand.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/stdlib/_rand.h b/src/stdlib/_rand.h
deleted file mode 100644
index 7f7102ef..00000000
--- a/src/stdlib/_rand.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#include <limits.h>
-
-#define _rand(_n) \
- (((_n) = (_n) * 1103515245 + 12345) ? (_n) / UINT_MAX % RAND_MAX : 0)