aboutsummaryrefslogtreecommitdiff
path: root/gdb/sh-stub.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-07-30 01:48:28 +0000
committerKevin Buettner <kevinb@redhat.com>2000-07-30 01:48:28 +0000
commitfba45db2faf619e71856ee38ec63949c0ef6903e (patch)
tree107efc21d2b12f54d84b59e75251449e3d5fd096 /gdb/sh-stub.c
parent29e6d33b03a5e39540d17bc8235573b1dac13341 (diff)
downloadgdb-fba45db2faf619e71856ee38ec63949c0ef6903e.zip
gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.gz
gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.bz2
Protoization.
Diffstat (limited to 'gdb/sh-stub.c')
-rw-r--r--gdb/sh-stub.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/sh-stub.c b/gdb/sh-stub.c
index ea897c4..b6be51f 100644
--- a/gdb/sh-stub.c
+++ b/gdb/sh-stub.c
@@ -383,7 +383,7 @@ hexToInt (char **ptr, int *intValue)
/* scan for the sequence $<data>#<checksum> */
char *
-getpacket ()
+getpacket (void)
{
unsigned char *buffer = &remcomInBuffer[0];
unsigned char checksum;
@@ -802,7 +802,7 @@ void handle_exception(int exceptionVector)
}
void
-gdb_mode()
+gdb_mode (void)
{
ingdbmode = GDBCOOKIE;
breakpoint();
@@ -1324,7 +1324,7 @@ static __inline__ void code_for_catch_exception(int n)
static void
-exceptions()
+exceptions (void)
{
code_for_catch_exception (CPU_BUS_ERROR_VEC);
code_for_catch_exception (DMA_BUS_ERROR_VEC);
@@ -1492,12 +1492,12 @@ exceptions()
void handleError (char theSSR);
void
-nop ()
+nop (void)
{
}
void
-init_serial()
+init_serial (void)
{
int i;
@@ -1556,7 +1556,7 @@ getDebugChar (void)
}
int
-putDebugCharReady()
+putDebugCharReady (void)
{
return (SSR1 & SCI_TDRE);
}