]> hackdaworld.org Git - physik/nlsop.git/blobdiff - random.h
max_extra only with dfb
[physik/nlsop.git] / random.h
index 4fa9aaed51a6174bedd0850a3e98d1f02a07cc74..e443f8182c6032ab0ae4b91c3463525f3cd93586 100644 (file)
--- a/random.h
+++ b/random.h
@@ -5,6 +5,9 @@
  *
  */
 
+#ifndef RANDOM_H
+#define RANDOM_H
+
 #include "nlsop.h"
 #include <math.h>
 #include <stdio.h>
 /* function prototypes */
 int rand_init(char *rf);
 int rand_close(void);
-int get_rand(u32 max);
-int get_rand_lgp(u32 max,double a,double b);
+u32 get_rand(u32 max);
+u32 get_rand_lgp(u32 max,double a,double b);
 
 #define BUFSIZE (16*1048576) /* 64 MByte */
 #define URAND_MAX 0xffffffff
 
+#endif /* RANDOM_H */