aboutsummaryrefslogtreecommitdiff
path: root/gdb/delta68-nat.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/delta68-nat.c
parent29e6d33b03a5e39540d17bc8235573b1dac13341 (diff)
downloadgdb-fba45db2faf619e71856ee38ec63949c0ef6903e.zip
gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.gz
gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.bz2
Protoization.
Diffstat (limited to 'gdb/delta68-nat.c')
-rw-r--r--gdb/delta68-nat.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/gdb/delta68-nat.c b/gdb/delta68-nat.c
index f54f1b8..bf81b84 100644
--- a/gdb/delta68-nat.c
+++ b/gdb/delta68-nat.c
@@ -34,9 +34,7 @@
BLOCKEND is the address of the end of the user structure. */
CORE_ADDR
-register_addr (regno, blockend)
- int regno;
- CORE_ADDR blockend;
+register_addr (int regno, CORE_ADDR blockend)
{
static int sysv68reg[] =
{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, -1, 15, 16};
@@ -64,7 +62,7 @@ CORE_ADDR kernel_u_addr;
/* Read the value of the u area from the kernel. */
void
-_initialize_delta68_nat ()
+_initialize_delta68_nat (void)
{
struct nlist nl[2];
@@ -79,14 +77,14 @@ _initialize_delta68_nat ()
}
}
-clear_insn_cache ()
+clear_insn_cache (void)
{
#ifdef MCT_TEXT /* in sys/signal.h on sysV68 R3V7.1 */
memctl (0, 4096, MCT_TEXT);
#endif
}
-kernel_u_size ()
+kernel_u_size (void)
{
return sizeof (struct user);
}