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/kern/tru64/dump_mbuf.cc | 1 + src/kern/tru64/printf.cc | 1 + 2 files changed, 2 insertions(+) (limited to 'src/kern') diff --git a/src/kern/tru64/dump_mbuf.cc b/src/kern/tru64/dump_mbuf.cc index fda1753d3..1eef26c07 100644 --- a/src/kern/tru64/dump_mbuf.cc +++ b/src/kern/tru64/dump_mbuf.cc @@ -40,6 +40,7 @@ #include "base/types.hh" #include "config/the_isa.hh" #include "cpu/thread_context.hh" +#include "kern/tru64/dump_mbuf.hh" #include "kern/tru64/mbuf.hh" #include "sim/arguments.hh" #include "sim/system.hh" diff --git a/src/kern/tru64/printf.cc b/src/kern/tru64/printf.cc index dfd300c12..914a6ae86 100644 --- a/src/kern/tru64/printf.cc +++ b/src/kern/tru64/printf.cc @@ -36,6 +36,7 @@ #include "base/cprintf.hh" #include "base/trace.hh" #include "base/types.hh" +#include "kern/tru64/printf.hh" #include "sim/arguments.hh" using namespace std; -- cgit v1.2.3