From 120abad8b7c1433b48d5d1c8fb43b19b20feccd9 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Tue, 10 Oct 2000 05:17:25 +0000 Subject: Protoization. --- gdb/remote-nindy.c | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'gdb/remote-nindy.c') diff --git a/gdb/remote-nindy.c b/gdb/remote-nindy.c index 807000d..c5e0a4a 100644 --- a/gdb/remote-nindy.c +++ b/gdb/remote-nindy.c @@ -240,14 +240,13 @@ nindy_files_info (void) nindy_initial_brk ? " with initial break" : ""); } -/* Return the number of characters in the buffer before - the first DLE character. */ +/* Return the number of characters in the buffer BUF before + the first DLE character. N is maximum number of characters to + consider. */ static int -non_dle (buf, n) - char *buf; /* Character buffer; NOT '\0'-terminated */ - int n; /* Number of characters in buffer */ +non_dle (char *buf, int n) { int i; @@ -482,15 +481,12 @@ nindy_store_registers (int regno) /* Copy LEN bytes to or from inferior's memory starting at MEMADDR to debugger memory starting at MYADDR. Copy to inferior if - SHOULD_WRITE is nonzero. Returns the length copied. */ + SHOULD_WRITE is nonzero. Returns the length copied. TARGET is + unused. */ int -nindy_xfer_inferior_memory (memaddr, myaddr, len, should_write, target) - CORE_ADDR memaddr; - char *myaddr; - int len; - int should_write; - struct target_ops *target; /* ignored */ +nindy_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len, + int should_write, struct target_ops *target) { if (len <= 0) return 0; -- cgit v1.1