aboutsummaryrefslogtreecommitdiffstats
path: root/srand.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-01-28 16:34:27 +0100
committerMattias Andrée <maandree@kth.se>2024-01-28 16:34:27 +0100
commit71811470be4f182b623510cf92ea5cfff16df172 (patch)
tree7f5e35dbdc22bd64dec1e8b62ffc9214544ae466 /srand.c
parentFix typo (diff)
downloadlibsimple-71811470be4f182b623510cf92ea5cfff16df172.tar.gz
libsimple-71811470be4f182b623510cf92ea5cfff16df172.tar.bz2
libsimple-71811470be4f182b623510cf92ea5cfff16df172.tar.xz
Add libsimple_generate_seed and libsimple_srand
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--srand.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/srand.c b/srand.c
new file mode 100644
index 0000000..e1648cb
--- /dev/null
+++ b/srand.c
@@ -0,0 +1,18 @@
+/* See LICENSE file for copyright and license details. */
+#include "common.h"
+#ifndef TEST
+
+
+extern inline void libsimple_srand(void); /* TODO add test */
+
+
+#else
+#include "test.h"
+
+int
+main(void)
+{
+ return 0;
+}
+
+#endif