From: Andrew Cagney Date: Sat, 17 Jul 2004 14:24:07 +0000 (+0000) Subject: 2004-07-17 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da745b36fd72e0e3a64771d5609de2b2f2b0c788;p=binutils-gdb.git 2004-07-17 Andrew Cagney * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e83c993b69a..669c8dc69aa 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2004-07-17 Andrew Cagney + * 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. diff --git a/gdb/ppc-linux-nat.c b/gdb/ppc-linux-nat.c index 987c64bcf88..c0f02ce924b 100644 --- a/gdb/ppc-linux-nat.c +++ b/gdb/ppc-linux-nat.c @@ -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; diff --git a/gdb/symfile-mem.c b/gdb/symfile-mem.c index 00bce17a3fc..71991cffdef 100644 --- a/gdb/symfile-mem.c +++ b/gdb/symfile-mem.c @@ -134,7 +134,7 @@ Must use symbol-file or exec-file before add-symbol-file-from-memory."); void -_initialize_symfile_mem () +_initialize_symfile_mem (void) { add_cmd ("add-symbol-file-from-memory", class_files, add_symbol_file_from_memory_command, diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c index 1c67baa8b01..0be63b66339 100644 --- a/gdb/tui/tui-win.c +++ b/gdb/tui/tui-win.c @@ -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,