diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-07-30 01:48:28 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-07-30 01:48:28 +0000 |
commit | fba45db2faf619e71856ee38ec63949c0ef6903e (patch) | |
tree | 107efc21d2b12f54d84b59e75251449e3d5fd096 /gdb/i386-stub.c | |
parent | 29e6d33b03a5e39540d17bc8235573b1dac13341 (diff) | |
download | binutils-gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.gz |
Protoization.
Diffstat (limited to 'gdb/i386-stub.c')
-rw-r--r-- | gdb/i386-stub.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/gdb/i386-stub.c b/gdb/i386-stub.c index 157779c5b66..2b08e3431fb 100644 --- a/gdb/i386-stub.c +++ b/gdb/i386-stub.c @@ -449,7 +449,7 @@ static char remcomOutBuffer[BUFMAX]; /* scan for the sequence $<data>#<checksum> */ unsigned char * -getpacket () +getpacket (void) { unsigned char *buffer = &remcomInBuffer[0]; unsigned char checksum; @@ -562,7 +562,7 @@ static void (*volatile mem_fault_routine)() = NULL; static volatile int mem_err = 0; void -set_mem_err () +set_mem_err (void) { mem_err = 1; } @@ -572,16 +572,13 @@ set_mem_err () to mem_fault, they won't get restored, so there better not be any saved). */ int -get_char (addr) - char *addr; +get_char (char *addr) { return *addr; } void -set_char (addr, val) - char *addr; - int val; +set_char (char *addr, int val) { *addr = val; } |