diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-03-16 20:58:53 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-03-16 20:58:53 +0000 |
commit | 6d519a4606b939572bb085e43822caa7fe8316e7 (patch) | |
tree | 23472d85f5f80b10c241c27e9d4da0f68b99557a /sim/common/hw-ports.c | |
parent | bbb0eef6998678547990f792068fc5a8d3286fa9 (diff) | |
download | gdb-6d519a4606b939572bb085e43822caa7fe8316e7.zip gdb-6d519a4606b939572bb085e43822caa7fe8316e7.tar.gz gdb-6d519a4606b939572bb085e43822caa7fe8316e7.tar.bz2 |
sim: avoid TRACE redefine warnings
The common code sets up an autoconf option --enable-sim-trace which adds
-DTRACE= to CPPFLAGS. This causes warnings in the building of some files
that declare a local TRACE() helper macro. So punt it from hw-ports.c
(since it isn't actually used) and convert hw-properties.c to HW_TRACE().
Diffstat (limited to 'sim/common/hw-ports.c')
-rw-r--r-- | sim/common/hw-ports.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sim/common/hw-ports.c b/sim/common/hw-ports.c index 8d5c14e..8f88cb3 100644 --- a/sim/common/hw-ports.c +++ b/sim/common/hw-ports.c @@ -35,8 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <ctype.h> -#define TRACE(x,y) - struct hw_port_edge { int my_port; |