Implemented the SHOW command and massaged the SET command to fit
[pspp-builds.git] / src / random.h
index 91dec4ffea7f32ec549a0ce63e83188df3b702ba..7ab723773d83a48e485425ec672d014a8ea40bda 100644 (file)
@@ -20,6 +20,8 @@
 #if !random_h
 #define random_h 1
 
+#include <stddef.h>
+
 struct rng *rng_create (void);
 void rng_destroy (struct rng *);
 void rng_seed (struct rng *, const void *, size_t);
@@ -31,4 +33,8 @@ double rng_get_double_normal (struct rng *);
 
 struct rng *pspp_rng (void);
 
+/* Return a `random' seed by using the real time clock */
+unsigned long random_seed(void);
+
+
 #endif /* random.h */