Pacify GCC.
This commit is contained in:
parent
ee562da4c4
commit
5a581ea612
|
@ -1,3 +1,8 @@
|
||||||
|
Mon Nov 23 17:07:37 1998 Andrew Cagney <cagney@b1.cygnus.com>
|
||||||
|
|
||||||
|
* interp.c (get_cell, sim_monitor, fetch_str, CoProcPresent):
|
||||||
|
Pacify GCC.
|
||||||
|
|
||||||
start-sanitize-tx19
|
start-sanitize-tx19
|
||||||
Mon Nov 23 16:51:02 1998 Andrew Cagney <cagney@b1.cygnus.com>
|
Mon Nov 23 16:51:02 1998 Andrew Cagney <cagney@b1.cygnus.com>
|
||||||
|
|
||||||
|
|
|
@ -1402,9 +1402,8 @@ sim_do_command (sd,cmd)
|
||||||
|
|
||||||
/* Read a null terminated string from memory, return in a buffer */
|
/* Read a null terminated string from memory, return in a buffer */
|
||||||
static char *
|
static char *
|
||||||
fetch_str (sd, addr)
|
fetch_str (SIM_DESC sd,
|
||||||
SIM_DESC sd;
|
address_word addr)
|
||||||
address_word addr;
|
|
||||||
{
|
{
|
||||||
char *buf;
|
char *buf;
|
||||||
int nr = 0;
|
int nr = 0;
|
||||||
|
@ -1417,7 +1416,7 @@ fetch_str (sd, addr)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Simple monitor interface (currently setup for the IDT and PMON monitors) */
|
/* Simple monitor interface (currently setup for the IDT and PMON monitors) */
|
||||||
void
|
static void
|
||||||
sim_monitor (SIM_DESC sd,
|
sim_monitor (SIM_DESC sd,
|
||||||
sim_cpu *cpu,
|
sim_cpu *cpu,
|
||||||
address_word cia,
|
address_word cia,
|
||||||
|
@ -3486,8 +3485,7 @@ convert (SIM_DESC sd,
|
||||||
/*-- co-processor support routines ------------------------------------------*/
|
/*-- co-processor support routines ------------------------------------------*/
|
||||||
|
|
||||||
static int UNUSED
|
static int UNUSED
|
||||||
CoProcPresent(coproc_number)
|
CoProcPresent(unsigned int coproc_number)
|
||||||
unsigned int coproc_number;
|
|
||||||
{
|
{
|
||||||
/* Return TRUE if simulator provides a model for the given co-processor number */
|
/* Return TRUE if simulator provides a model for the given co-processor number */
|
||||||
return(0);
|
return(0);
|
||||||
|
@ -4302,7 +4300,7 @@ sim_engine_run (sd, next_cpu_nr, nr_cpus, siggnal)
|
||||||
#define NUMCELLS 16
|
#define NUMCELLS 16
|
||||||
#define CELLSIZE 32
|
#define CELLSIZE 32
|
||||||
static char*
|
static char*
|
||||||
get_cell()
|
get_cell (void)
|
||||||
{
|
{
|
||||||
static char buf[NUMCELLS][CELLSIZE];
|
static char buf[NUMCELLS][CELLSIZE];
|
||||||
static int cell=0;
|
static int cell=0;
|
||||||
|
|
Loading…
Reference in New Issue