From ad525611ab268633d98432f83156b27d8ad457cd Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Fri, 15 Sep 2000 07:08:11 +0000 Subject: [PATCH] Protoization. --- gdb/ChangeLog | 5 +++++ gdb/language.c | 8 ++------ gdb/m3-nat.c | 15 +++++---------- 3 files changed, 12 insertions(+), 16 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0524d04a7bd..3ce502690db 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-09-15 Kevin Buettner + + * language.c (show_case_command, set_case_command): Protoize. + * m3-nat.c (m3_xfer_memory, fetch_thread_info): Protoize. + 2000-09-12 Kevin Buettner * lin-thread.c (threadlist_iter, get_lwp_from_thread_id, diff --git a/gdb/language.c b/gdb/language.c index 6db94d42909..6f7723debc6 100644 --- a/gdb/language.c +++ b/gdb/language.c @@ -330,9 +330,7 @@ set_range_command (char *ignore, int from_tty) /* Show command. Display a warning if the case sensitivity setting does not match the current language. */ static void -show_case_command(ignore, from_tty) - char *ignore; - int from_tty; +show_case_command (char *ignore, int from_tty) { if (case_sensitivity != current_language->la_case_sensitivity) printf_unfiltered( @@ -341,9 +339,7 @@ show_case_command(ignore, from_tty) /* Set command. Change the setting for case sensitivity. */ static void -set_case_command(ignore, from_tty) - char *ignore; - int from_tty; +set_case_command (char *ignore, int from_tty) { if (STREQ (case_sensitive, "on")) { diff --git a/gdb/m3-nat.c b/gdb/m3-nat.c index 1472b2c9dce..0e56fb5952f 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; -- 2.30.2