This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH RFC] Protoize language.c, m3-nat.c


More protoization...

	* language.c (show_case_command, set_case_command): Protoize.
	* m3-nat.c (m3_xfer_memory, fetch_thread_info): Protoize.

Index: language.c
===================================================================
RCS file: /cvs/src/src/gdb/language.c,v
retrieving revision 1.9
diff -u -r1.9 language.c
--- language.c	2000/08/11 01:02:35	1.9
+++ language.c	2000/09/13 01:59:35
@@ -330,9 +330,7 @@
 /* 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 @@
 
 /* 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"))
    {
Index: m3-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/m3-nat.c,v
retrieving revision 1.4
diff -u -r1.4 m3-nat.c
--- m3-nat.c	2000/08/09 20:09:01	1.4
+++ m3-nat.c	2000/09/13 01:59:39
@@ -2010,14 +2010,11 @@
   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 @@
 }
 
 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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]