aboutsummaryrefslogtreecommitdiff
path: root/sim/mn10300/interp.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-03-25 00:08:52 +0000
committerAndrew Cagney <cagney@redhat.com>1998-03-25 00:08:52 +0000
commite855e57637eda6c0869e6dfda9cf41c32a65a379 (patch)
treebf0813441e280d8649481be078dcc8f3f2d7ddd3 /sim/mn10300/interp.c
parente4dee78c688fd87281a90b429988438883018089 (diff)
downloadgdb-e855e57637eda6c0869e6dfda9cf41c32a65a379.zip
gdb-e855e57637eda6c0869e6dfda9cf41c32a65a379.tar.gz
gdb-e855e57637eda6c0869e6dfda9cf41c32a65a379.tar.bz2
Pacify GCC.
Diffstat (limited to 'sim/mn10300/interp.c')
-rw-r--r--sim/mn10300/interp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sim/mn10300/interp.c b/sim/mn10300/interp.c
index 039bd17..eede9a7 100644
--- a/sim/mn10300/interp.c
+++ b/sim/mn10300/interp.c
@@ -2,6 +2,7 @@
#if WITH_COMMON
#include "sim-main.h"
+#include "sim-options.h"
#else
#include "mn10300_sim.h"
#endif
@@ -36,14 +37,15 @@
host_callback *mn10300_callback;
int mn10300_debug;
-static SIM_OPEN_KIND sim_kind;
-static char *myname;
#if WITH_COMMON
#else
static void dispatch PARAMS ((uint32, uint32, int));
static long hash PARAMS ((long));
static void init_system PARAMS ((void));
+
+static SIM_OPEN_KIND sim_kind;
+static char *myname;
#define MAX_HASH 127
struct hash_entry
@@ -1045,7 +1047,6 @@ sim_open (kind, cb, abfd, argv)
char **argv;
{
SIM_DESC sd = sim_state_alloc (kind, cb);
- int mach;
mn10300_callback = cb;
SIM_ASSERT (STATE_MAGIC (sd) == SIM_MAGIC_NUMBER);