OSDN Git Service

sim: avoid TRACE redefine warnings
authorvapier <vapier>
Wed, 17 Mar 2010 05:58:53 +0000 (05:58 +0000)
committervapier <vapier>
Wed, 17 Mar 2010 05:58:53 +0000 (05:58 +0000)
commitcf0446152cefc2a96d1a0c3c4748e63effa9f2d6
treefea6a503252596f19357f5fde63f9af9d5e64b25
parent51da3da66bd17774c49de52673f50892fb792269
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