summaryrefslogtreecommitdiff
path: root/src/prng/rand48.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-09-07 23:02:40 -0400
committerRich Felker <dalias@aerifal.cx>2018-09-12 14:34:30 -0400
commitf9db9eca40fdc78fae258b8e12eb689fc2d5e0e5 (patch)
tree335fa5ffce30eba458bd0cf0382215be036f6912 /src/prng/rand48.h
parent01294da7f71958ed0d3aa5bdc8d625c405c8926a (diff)
downloadmusl-f9db9eca40fdc78fae258b8e12eb689fc2d5e0e5.tar.gz
add and use internal header for *rand48 lcg
Diffstat (limited to 'src/prng/rand48.h')
-rw-r--r--src/prng/rand48.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/prng/rand48.h b/src/prng/rand48.h
new file mode 100644
index 00000000..4ed6ae52
--- /dev/null
+++ b/src/prng/rand48.h
@@ -0,0 +1,4 @@
+#include <stdint.h>
+
+uint64_t __rand48_step(unsigned short *xi, unsigned short *lc);
+extern unsigned short __seed48[7];