2004-07-17 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Sat, 17 Jul 2004 14:24:07 +0000 (14:24 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 17 Jul 2004 14:24:07 +0000 (14:24 +0000)
* 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.

gdb/ChangeLog
gdb/ppc-linux-nat.c
gdb/symfile-mem.c
gdb/tui/tui-win.c

index e83c993b69aa4bbc107f521bc03c73e6249da67f..669c8dc69aaafefd7e91e95507f66e44362e400a 100644 (file)
@@ -1,5 +1,9 @@
 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.
+       
        * ppc-linux-tdep.c (ppc_linux_init_abi): Add [sic] to Linux.
        * ppc-linux-nat.c: Use "Linux kernel".
        * hppa-linux-tdep.c: Use GNU/Linux.
index 987c64bcf88fa790396f61f14c9dfdb18efb254f..c0f02ce924b2d32f02c007066e82971d343dfdc6 100644 (file)
@@ -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 00bce17a3fc475c2cf84784223ce4989d291538f..71991cffdef6032beb102fcadc26dfadb6377cd4 100644 (file)
@@ -134,7 +134,7 @@ Must use symbol-file or exec-file before add-symbol-file-from-memory.");
 
 \f
 void
-_initialize_symfile_mem ()
+_initialize_symfile_mem (void)
 {
   add_cmd ("add-symbol-file-from-memory", class_files,
            add_symbol_file_from_memory_command,
index 1c67baa8b01a29748ca0b2d79f871b7f6c5b7662..0be63b66339821e5f3138c08c36aea11fc7ae0ab 100644 (file)
@@ -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,