summaryrefslogtreecommitdiff
path: root/lib/sgran.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sgran.c')
-rw-r--r--lib/sgran.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/sgran.c b/lib/sgran.c
new file mode 100644
index 00000000..b48222e9
--- /dev/null
+++ b/lib/sgran.c
@@ -0,0 +1,7 @@
+#include "init_random_seed.h"
+
+/* Fortran wrapper to seed the C library rand */
+void sgran_(void)
+{
+ init_random_seed();
+}