sim: avoid TRACE redefine warnings
authorMike Frysinger <vapier@gentoo.org>
Tue, 16 Mar 2010 20:58:53 +0000 (20:58 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 16 Mar 2010 20:58:53 +0000 (20:58 +0000)
commit6d519a4606b939572bb085e43822caa7fe8316e7
tree23472d85f5f80b10c241c27e9d4da0f68b99557a
parentbbb0eef6998678547990f792068fc5a8d3286fa9
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().
sim/common/ChangeLog
sim/common/hw-ports.c
sim/common/hw-properties.c