summaryrefslogtreecommitdiff
path: root/lib/rand.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rand.h')
-rw-r--r--lib/rand.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/rand.h b/lib/rand.h
index 2354f6a..7bb5354 100644
--- a/lib/rand.h
+++ b/lib/rand.h
@@ -4,4 +4,13 @@
#include <assert.h>
#include <stdio.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
unsigned long int rand_seed();
+
+#ifdef __cplusplus
+}
+#endif
+