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]
Other format: [Raw text]

[ob/6.2] Eliminate K&R C


Andrew
2004-07-17  Andrew Cagney  <cagney@gnu.org>

	* ppc-linux-nat.c (store_spe_registers): Eliminate K&R C.
	* tui/tui-win.c (tui_get_cmd_list): Ditto.
	* symfile-mem.c (_initialize_symfile_mem): Ditto.
	
Index: ppc-linux-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/ppc-linux-nat.c,v
retrieving revision 1.46
diff -p -u -r1.46 ppc-linux-nat.c
--- ppc-linux-nat.c	17 Jul 2004 14:15:30 -0000	1.46
+++ ppc-linux-nat.c	17 Jul 2004 14:22:51 -0000
@@ -872,7 +872,7 @@ store_altivec_registers (int tid)
 }
 
 static void
-store_spe_registers (tid)
+store_spe_registers (int tid)
 {
   struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
   struct gdb_evrregset_t evrregs;
Index: symfile-mem.c
===================================================================
RCS file: /cvs/src/src/gdb/symfile-mem.c,v
retrieving revision 1.2
diff -p -u -r1.2 symfile-mem.c
--- symfile-mem.c	25 May 2004 21:55:43 -0000	1.2
+++ symfile-mem.c	17 Jul 2004 14:22:51 -0000
@@ -134,7 +134,7 @@ Must use symbol-file or exec-file before
 
 
 void
-_initialize_symfile_mem ()
+_initialize_symfile_mem (void)
 {
   add_cmd ("add-symbol-file-from-memory", class_files,
            add_symbol_file_from_memory_command,
Index: tui/tui-win.c
===================================================================
RCS file: /cvs/src/src/gdb/tui/tui-win.c,v
retrieving revision 1.18
diff -p -u -r1.18 tui-win.c
--- tui/tui-win.c	13 Mar 2004 14:14:01 -0000	1.18
+++ tui/tui-win.c	17 Jul 2004 14:22:51 -0000
@@ -301,7 +301,7 @@ tui_command (char *args, int from_tty)
 }
 
 struct cmd_list_element **
-tui_get_cmd_list ()
+tui_get_cmd_list (void)
 {
   if (tuilist == 0)
     add_prefix_cmd ("tui", class_tui, tui_command,

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