aboutsummaryrefslogtreecommitdiff
path: root/gdb/m3-nat.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-09-15 07:08:11 +0000
committerKevin Buettner <kevinb@redhat.com>2000-09-15 07:08:11 +0000
commitad525611ab268633d98432f83156b27d8ad457cd (patch)
treef1e6346ea7d79137afd19d10e1dc38858b2e555f /gdb/m3-nat.c
parent1dab94dd914a97fd9a67bb7b2540ae60bdc6af9e (diff)
downloadgdb-ad525611ab268633d98432f83156b27d8ad457cd.zip
gdb-ad525611ab268633d98432f83156b27d8ad457cd.tar.gz
gdb-ad525611ab268633d98432f83156b27d8ad457cd.tar.bz2
Protoization.
Diffstat (limited to 'gdb/m3-nat.c')
-rw-r--r--gdb/m3-nat.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/gdb/m3-nat.c b/gdb/m3-nat.c
index 1472b2c..0e56fb5 100644
--- a/gdb/m3-nat.c
+++ b/gdb/m3-nat.c
@@ -2010,14 +2010,11 @@ out:
return length;
}
-/* Return 0 on failure, number of bytes handled otherwise. */
+/* Return 0 on failure, number of bytes handled otherwise. TARGET is
+ ignored. */
static int
-m3_xfer_memory (memaddr, myaddr, len, write, target)
- CORE_ADDR memaddr;
- char *myaddr;
- int len;
- int write;
- struct target_ops *target; /* IGNORED */
+m3_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
+ struct target_ops *target)
{
int result;
@@ -2139,9 +2136,7 @@ get_thread_name (gdb_thread_t one_cproc, int id)
}
int
-fetch_thread_info (task, mthreads_out)
- mach_port_t task;
- gdb_thread_t *mthreads_out; /* out */
+fetch_thread_info (mach_port_t task, gdb_thread_t *mthreads_out)
{
kern_return_t ret;
thread_array_t th_table;