aboutsummaryrefslogtreecommitdiff
path: root/gdb/gnu-nat.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-08-31 03:19:06 +0000
committerKevin Buettner <kevinb@redhat.com>2000-08-31 03:19:06 +0000
commit0359ddd6453523134f3e5061959a269f6cd64af9 (patch)
tree04d7e138be43869675942166688825bb2a0f7e33 /gdb/gnu-nat.c
parent359431fb6d3c93159d62b683885b097e6e3999e1 (diff)
downloadgdb-0359ddd6453523134f3e5061959a269f6cd64af9.zip
gdb-0359ddd6453523134f3e5061959a269f6cd64af9.tar.gz
gdb-0359ddd6453523134f3e5061959a269f6cd64af9.tar.bz2
Protoization.
Diffstat (limited to 'gdb/gnu-nat.c')
-rw-r--r--gdb/gnu-nat.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c
index ff56ffc..6ab6abc 100644
--- a/gdb/gnu-nat.c
+++ b/gdb/gnu-nat.c
@@ -2442,14 +2442,11 @@ out:
}
-/* Return 0 on failure, number of bytes handled otherwise. */
+/* Return 0 on failure, number of bytes handled otherwise. TARGET
+ is ignored. */
static int
-gnu_xfer_memory (memaddr, myaddr, len, write, target)
- CORE_ADDR memaddr;
- char *myaddr;
- int len;
- int write;
- struct target_ops *target; /* IGNORED */
+gnu_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
+ struct target_ops *target)
{
task_t task = (current_inferior
? (current_inferior->task