summaryrefslogtreecommitdiff
path: root/src/sim/init.hh
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2013-02-19 05:56:07 -0500
committerAndreas Hansson <andreas.hansson@arm.com>2013-02-19 05:56:07 -0500
commit319443d42dbed8d6b07b8a2b7a0e565ff5bd8abf (patch)
tree49e9d2efb1b21b93cc825dbcbb2c906cbe71fa31 /src/sim/init.hh
parentb44e0ce52b894fd4eecc9339e213b7a111c2cc1d (diff)
downloadgem5-319443d42dbed8d6b07b8a2b7a0e565ff5bd8abf.tar.xz
scons: Add warning for missing declarations
This patch enables warnings for missing declarations. To avoid issues with SWIG-generated code, the warning is only applied to non-SWIG code.
Diffstat (limited to 'src/sim/init.hh')
-rw-r--r--src/sim/init.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sim/init.hh b/src/sim/init.hh
index ee40b9790..325fc8e6f 100644
--- a/src/sim/init.hh
+++ b/src/sim/init.hh
@@ -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,13 @@ struct EmbeddedSwig
static void initAll();
};
+void dumpStatsHandler(int sigtype);
+void dumprstStatsHandler(int sigtype);
+void exitNowHandler(int sigtype);
+void abortHandler(int sigtype);
void initSignals();
int initM5Python();
int m5Main(int argc, char **argv);
+PyMODINIT_FUNC initm5(void);
#endif // __SIM_INIT_HH__