aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/ppc-linux-nat.c2
-rw-r--r--gdb/symfile-mem.c2
-rw-r--r--gdb/tui/tui-win.c2
4 files changed, 7 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e83c993..669c8dc 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/ppc-linux-nat.c b/gdb/ppc-linux-nat.c
index 987c64b..c0f02ce 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 00bce17..71991cf 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 1c67baa..0be63b6 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,