aboutsummaryrefslogtreecommitdiff
path: root/sim/common/cgen-trace.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-04 22:24:03 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-04 22:24:03 -0500
commitbc273e17510c7680bcffee75858d374aa93f7e4b (patch)
tree70fafc5ebb2b4104b5d0169578f8e24f4a497ba4 /sim/common/cgen-trace.c
parentac8eefeb243ad326946c3b2b78ba5d1367fe0f99 (diff)
downloadgdb-bc273e17510c7680bcffee75858d374aa93f7e4b.zip
gdb-bc273e17510c7680bcffee75858d374aa93f7e4b.tar.gz
gdb-bc273e17510c7680bcffee75858d374aa93f7e4b.tar.bz2
sim: unify min/max macros
Import defines from gdb/defs.h to the sim core so we can delete the various copies that already exist.
Diffstat (limited to 'sim/common/cgen-trace.c')
-rw-r--r--sim/common/cgen-trace.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sim/common/cgen-trace.c b/sim/common/cgen-trace.c
index 5adc552..2332df4 100644
--- a/sim/common/cgen-trace.c
+++ b/sim/common/cgen-trace.c
@@ -24,9 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "sim-main.h"
#include "sim-fpu.h"
-#undef min
-#define min(a,b) ((a) < (b) ? (a) : (b))
-
#ifndef SIZE_INSTRUCTION
#define SIZE_INSTRUCTION 16
#endif