sim: Make the drain state a global typed enum
[gem5.git] / src / sim / init.hh
index ee40b979074e8f5274bbfb59333ec6f8e24bb02e..766cb43654250c148575ce200951d5981fcf51ad 100644 (file)
@@ -31,6 +31,8 @@
 #ifndef __SIM_INIT_HH__
 #define __SIM_INIT_HH__
 
+#include <Python.h>
+
 /*
  * Data structure describing an embedded python file.
  */
@@ -74,8 +76,8 @@ struct EmbeddedSwig
     static void initAll();
 };
 
-void initSignals();
 int initM5Python();
 int m5Main(int argc, char **argv);
+PyMODINIT_FUNC initm5(void);
 
 #endif // __SIM_INIT_HH__