Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Remove useless stuff in mc_private.h
authorGabriel Corona <gabriel.corona@loria.fr>
Tue, 15 Mar 2016 13:02:58 +0000 (14:02 +0100)
committerGabriel Corona <gabriel.corona@loria.fr>
Tue, 15 Mar 2016 13:09:42 +0000 (14:09 +0100)
src/mc/mc_private.h

index 964e94d..24548e0 100644 (file)
@@ -7,47 +7,39 @@
 #ifndef SIMGRID_MC_PRIVATE_H
 #define SIMGRID_MC_PRIVATE_H
 
 #ifndef SIMGRID_MC_PRIVATE_H
 #define SIMGRID_MC_PRIVATE_H
 
+#include "simgrid_config.h"
+
 #include <sys/types.h>
 
 #include <sys/types.h>
 
-#include "simgrid_config.h"
 #include <stdio.h>
 #include <stdio.h>
-#include <stdint.h>
-#include <stdbool.h>
 #ifndef WIN32
 #include <sys/mman.h>
 #endif
 #ifndef WIN32
 #include <sys/mman.h>
 #endif
+
 #include <elfutils/libdw.h>
 
 #include <elfutils/libdw.h>
 
+#include <simgrid/msg.h>
+#include <xbt/fifo.h>
+#include <xbt/config.h>
+#include <xbt/parmap.h>
+#include <xbt/base.h>
+
 #include "mc/mc.h"
 #include "mc/mc.h"
-#include "src/mc/mc_base.h"
 #include "mc/datatypes.h"
 #include "mc/datatypes.h"
-#include "xbt/fifo.h"
-#include "xbt/config.h"
-
-#ifdef __cplusplus
-#include "src/xbt/memory_map.hpp"
-#endif
+#include "src/mc/mc_base.h"
 
 
-#include "xbt/function_types.h"
-#include "xbt/mmalloc.h"
 #include "src/simix/smx_private.h"
 #include "src/xbt/mmalloc/mmprivate.h"
 #include "src/simix/smx_private.h"
 #include "src/xbt/mmalloc/mmprivate.h"
-#include "xbt/automaton.h"
-#include <simgrid/msg.h>
-#include "xbt/strbuff.h"
-#include "xbt/parmap.h"
-#include <xbt/base.h>
 
 #ifdef __cplusplus
 #include "src/mc/mc_forward.hpp"
 
 #ifdef __cplusplus
 #include "src/mc/mc_forward.hpp"
+#include "src/xbt/memory_map.hpp"
 #endif
 
 #include "src/mc/mc_protocol.h"
 
 SG_BEGIN_DECL()
 
 #endif
 
 #include "src/mc/mc_protocol.h"
 
 SG_BEGIN_DECL()
 
-typedef struct s_mc_function_index_item s_mc_function_index_item_t, *mc_function_index_item_t;
-
 /********************************* MC Global **********************************/
 
 XBT_PRIVATE void MC_init_dot_output();
 /********************************* MC Global **********************************/
 
 XBT_PRIVATE void MC_init_dot_output();