aboutsummaryrefslogtreecommitdiff
path: root/sim/mn10300
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-06-09 22:26:16 +0800
committerMike Frysinger <vapier@gentoo.org>2015-06-11 07:17:12 -0400
commit5d19c36612c6b08627280bb0063ad1222b0a92dd (patch)
tree61c3c97e1496640e9a2b5fad6ddd470e6105d868 /sim/mn10300
parent31557eccb23b478e049b5eb7db3cb144c6533ee5 (diff)
downloadgdb-5d19c36612c6b08627280bb0063ad1222b0a92dd.zip
gdb-5d19c36612c6b08627280bb0063ad1222b0a92dd.tar.gz
gdb-5d19c36612c6b08627280bb0063ad1222b0a92dd.tar.bz2
sim: m68hc11/mn10300/v850: delete redundant INLINE defines
The sim-inline.h header already takes care of this for us, so punt the local definitions.
Diffstat (limited to 'sim/mn10300')
-rw-r--r--sim/mn10300/ChangeLog5
-rw-r--r--sim/mn10300/interp.c8
-rw-r--r--sim/mn10300/mn10300_sim.h8
3 files changed, 5 insertions, 16 deletions
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog
index bee772f..af49458 100644
--- a/sim/mn10300/ChangeLog
+++ b/sim/mn10300/ChangeLog
@@ -1,3 +1,8 @@
+2015-06-11 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c (INLINE): Delete define.
+ * mn10300_sim.h (INLINE): Likewise.
+
2015-04-18 Mike Frysinger <vapier@gentoo.org>
* sim-main.h (SIM_CPU): Delete.
diff --git a/sim/mn10300/interp.c b/sim/mn10300/interp.c
index 4439ac8..e5a90b5 100644
--- a/sim/mn10300/interp.c
+++ b/sim/mn10300/interp.c
@@ -23,14 +23,6 @@
#include "bfd.h"
-#ifndef INLINE
-#ifdef __GNUC__
-#define INLINE inline
-#else
-#define INLINE
-#endif
-#endif
-
host_callback *mn10300_callback;
int mn10300_debug;
diff --git a/sim/mn10300/mn10300_sim.h b/sim/mn10300/mn10300_sim.h
index 4ea5d3e..9f0076a 100644
--- a/sim/mn10300/mn10300_sim.h
+++ b/sim/mn10300/mn10300_sim.h
@@ -8,14 +8,6 @@
#include "bfd.h"
#include "sim-fpu.h"
-#ifndef INLINE
-#ifdef __GNUC__
-#define INLINE inline
-#else
-#define INLINE
-#endif
-#endif
-
extern host_callback *mn10300_callback;
extern SIM_DESC simulator;