Protoization.

This commit is contained in:
Kevin Buettner 2000-09-24 04:42:12 +00:00
parent 959ee54136
commit 0e7e8d51a4
3 changed files with 14 additions and 8 deletions

View file

@ -1,3 +1,8 @@
2000-09-23 Kevin Buettner <kevinb@redhat.com>
* mdebugread.c (mdebug_next_symbol_text): Protoize.
* monitor.c (monitor_xfer_memory): Protoize.
2000-09-22 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> 2000-09-22 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
* i386-linux-nat.c (OLD_CANNOT_FETCH_REGISTER, * i386-linux-nat.c (OLD_CANNOT_FETCH_REGISTER,

View file

@ -3182,9 +3182,10 @@ handle_psymbol_enumerators (struct objfile *objfile, FDR *fh, int stype,
} }
} }
/* Get the next symbol. OBJFILE is unused. */
static char * static char *
mdebug_next_symbol_text (objfile) mdebug_next_symbol_text (struct objfile *objfile)
struct objfile *objfile; /* argument objfile is currently unused */
{ {
SYMR sh; SYMR sh;

View file

@ -2000,13 +2000,13 @@ monitor_read_memory (CORE_ADDR memaddr, char *myaddr, int len)
return len; return len;
} }
/* Transfer LEN bytes between target address MEMADDR and GDB address
MYADDR. Returns 0 for success, errno code for failure. TARGET is
unused. */
static int static int
monitor_xfer_memory (memaddr, myaddr, len, write, target) monitor_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
CORE_ADDR memaddr; struct target_ops *target)
char *myaddr;
int len;
int write;
struct target_ops *target; /* ignored */
{ {
return dcache_xfer_memory (remote_dcache, memaddr, myaddr, len, write); return dcache_xfer_memory (remote_dcache, memaddr, myaddr, len, write);
} }