summaryrefslogtreecommitdiff
path: root/src/prng/srandom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/prng/srandom.c')
-rw-r--r--src/prng/srandom.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/prng/srandom.c b/src/prng/srandom.c
new file mode 100644
index 00000000..77f4dcbd
--- /dev/null
+++ b/src/prng/srandom.c
@@ -0,0 +1,8 @@
+#include <stdlib.h>
+
+/* FIXME */
+
+void srandom(unsigned seed)
+{
+ return srand(seed);
+}