aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/interp.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-11-23 06:10:01 +0000
committerAndrew Cagney <cagney@redhat.com>1998-11-23 06:10:01 +0000
commit5a581ea6126a1cf9e3f717bb49257bc3cf413c09 (patch)
tree6236a24a3655a488071e21c5811476c809db44f1 /sim/mips/interp.c
parentee562da4c499a2d97020368ca36434e292b381b4 (diff)
downloadgdb-5a581ea6126a1cf9e3f717bb49257bc3cf413c09.zip
gdb-5a581ea6126a1cf9e3f717bb49257bc3cf413c09.tar.gz
gdb-5a581ea6126a1cf9e3f717bb49257bc3cf413c09.tar.bz2
Pacify GCC.
Diffstat (limited to 'sim/mips/interp.c')
-rw-r--r--sim/mips/interp.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/sim/mips/interp.c b/sim/mips/interp.c
index f2db125..265c361 100644
--- a/sim/mips/interp.c
+++ b/sim/mips/interp.c
@@ -1402,9 +1402,8 @@ sim_do_command (sd,cmd)
/* Read a null terminated string from memory, return in a buffer */
static char *
-fetch_str (sd, addr)
- SIM_DESC sd;
- address_word addr;
+fetch_str (SIM_DESC sd,
+ address_word addr)
{
char *buf;
int nr = 0;
@@ -1417,7 +1416,7 @@ fetch_str (sd, addr)
}
/* Simple monitor interface (currently setup for the IDT and PMON monitors) */
-void
+static void
sim_monitor (SIM_DESC sd,
sim_cpu *cpu,
address_word cia,
@@ -3486,8 +3485,7 @@ convert (SIM_DESC sd,
/*-- co-processor support routines ------------------------------------------*/
static int UNUSED
-CoProcPresent(coproc_number)
- unsigned int coproc_number;
+CoProcPresent(unsigned int coproc_number)
{
/* Return TRUE if simulator provides a model for the given co-processor number */
return(0);
@@ -4302,7 +4300,7 @@ sim_engine_run (sd, next_cpu_nr, nr_cpus, siggnal)
#define NUMCELLS 16
#define CELLSIZE 32
static char*
-get_cell()
+get_cell (void)
{
static char buf[NUMCELLS][CELLSIZE];
static int cell=0;