From 319443d42dbed8d6b07b8a2b7a0e565ff5bd8abf Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Tue, 19 Feb 2013 05:56:07 -0500 Subject: 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. --- src/sim/init.hh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/sim/init.hh') 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 + /* * 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__ -- cgit v1.2.3