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/cpu/pc_event.hh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/cpu/pc_event.hh') diff --git a/src/cpu/pc_event.hh b/src/cpu/pc_event.hh index f26bbf3f2..c73fc3c5a 100644 --- a/src/cpu/pc_event.hh +++ b/src/cpu/pc_event.hh @@ -39,6 +39,7 @@ class ThreadContext; class PCEventQueue; +class System; class PCEvent { @@ -141,4 +142,8 @@ class BreakPCEvent : public PCEvent virtual void process(ThreadContext *tc); }; +void sched_break_pc_sys(System *sys, Addr addr); + +void sched_break_pc(Addr addr); + #endif // __PC_EVENT_HH__ -- cgit v1.2.3