Declare it "extern" in include file.
Found by compiling with "-fno-common".
Actually comment the declaration/definition, since it is not used.
/* Pointers to each of the heap regions to use */
void *std_heap = NULL; /* memory erased each time the MC stuff rollbacks to the beginning. Almost everything goes here */
void *raw_heap = NULL; /* memory persistent over the MC rollbacks. Only MC stuff should go there */
/* Pointers to each of the heap regions to use */
void *std_heap = NULL; /* memory erased each time the MC stuff rollbacks to the beginning. Almost everything goes here */
void *raw_heap = NULL; /* memory persistent over the MC rollbacks. Only MC stuff should go there */
+/* int raw_heap_fd; */ /* unsued */
/* Initialize the model-checker memory subsystem */
/* It creates the two heap regions: std_heap and raw_heap */
/* Initialize the model-checker memory subsystem */
/* It creates the two heap regions: std_heap and raw_heap */
extern void *std_heap;
extern void *raw_heap;
extern void *std_heap;
extern void *raw_heap;
+/* extern int raw_heap_fd; */ /* unused */
#define STD_HEAP_SIZE 20480000 /* Maximum size of the system's heap */
/* FIXME: Horrible hack! because the mmalloc library doesn't provide yet of */
#define STD_HEAP_SIZE 20480000 /* Maximum size of the system's heap */
/* FIXME: Horrible hack! because the mmalloc library doesn't provide yet of */