Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't define variables in header files (part 2).
[simgrid.git] / src / mc / mc_private.h
index 519e708..9b36857 100644 (file)
@@ -153,7 +153,7 @@ struct mstats {
 #define MC_SET_RAW_MEM    mmalloc_set_current_heap(raw_heap)
 #define MC_UNSET_RAW_MEM  mmalloc_set_current_heap(std_heap)
 
-int raw_mem_set;
+extern int raw_mem_set;
 
 /******************************* MEMORY MAPPINGS ***************************/
 /* These functions and data structures implements a binary interface for   */