aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/lustre-convertible-en-2cgc/convertible_main_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/monniaux/lustre-convertible-en-2cgc/convertible_main_loop.c')
-rw-r--r--test/monniaux/lustre-convertible-en-2cgc/convertible_main_loop.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/monniaux/lustre-convertible-en-2cgc/convertible_main_loop.c b/test/monniaux/lustre-convertible-en-2cgc/convertible_main_loop.c
index 9aa52cad..9646b39f 100644
--- a/test/monniaux/lustre-convertible-en-2cgc/convertible_main_loop.c
+++ b/test/monniaux/lustre-convertible-en-2cgc/convertible_main_loop.c
@@ -8,6 +8,7 @@
#include <stdint.h>
#include "convertible_main.h"
#include "../clock.h"
+#include "../dm_random.c"
/* MACROS DEFINITIONS ****************/
#ifndef TT
@@ -23,12 +24,6 @@
/* set this macro for testing output clocks */
#endif
-static uint32_t dm_random_uint32(void) {
- static uint32_t current=UINT32_C(0xDEADBEEF);
- current = ((uint64_t) current << 6) % UINT32_C(4294967291);
- return current;
-}
-
/* Standard Input procedures **************/
_boolean _get_bool(char* n){
return dm_random_uint32() & 1;