From 3ed9691ff40f95cbb9913f07705a5d4ce10949c6 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Thu, 2 Nov 2000 03:18:49 +0000 Subject: [PATCH] Protoization. --- gdb/ChangeLog | 7 +++++++ gdb/symm-nat.c | 1 - gdb/symtab.c | 1 - gdb/ultra3-nat.c | 9 ++++----- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ae476828bf3..95d9d652ee3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2000-11-01 Kevin Buettner + + * symm-nat.c (print_1167_regs): Remove extraneous blank line + after function declarator. + * symtab.c (search_symbols): Likewise. + * ultra3-nat.c (fetch_core_registers): Protoize. + 2000-10-30 Michael Snyder * config/sh/tm-linux.h: New file. Include generic tm-linux.h, diff --git a/gdb/symm-nat.c b/gdb/symm-nat.c index 7b798aee5ee..7fc706f017d 100644 --- a/gdb/symm-nat.c +++ b/gdb/symm-nat.c @@ -314,7 +314,6 @@ print_1167_control_word (unsigned int pcr) } print_1167_regs (long regs[FPA_NREGS]) - { int i; diff --git a/gdb/symtab.c b/gdb/symtab.c index 11aa9c5e63f..8de14b783ed 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -3535,7 +3535,6 @@ make_cleanup_free_search_symbols (struct symbol_search *symbols) void search_symbols (char *regexp, namespace_enum kind, int nfiles, char *files[], struct symbol_search **matches) - { register struct symtab *s; register struct partial_symtab *ps; diff --git a/gdb/ultra3-nat.c b/gdb/ultra3-nat.c index 1ba60ad923e..02ff8ec3ff3 100644 --- a/gdb/ultra3-nat.c +++ b/gdb/ultra3-nat.c @@ -254,14 +254,13 @@ fetch_register (int regno) /* * Read AMD's Binary Compatibilty Standard conforming core file. * struct ptrace_user is the first thing in the core file + * + * CORE_REG_SECT, CORE_REG_SIZE, WHICH, and REG_ADDR are all ignored. */ static void -fetch_core_registers (core_reg_sect, core_reg_size, which, reg_addr) - char *core_reg_sect; /* Unused in this version */ - unsigned core_reg_size; /* Unused in this version */ - int which; /* Unused in this version */ - CORE_ADDR reg_addr; /* Unused in this version */ +fetch_core_registers (char *core_reg_sect, unsigned core_reg_size, + int which, CORE_ADDR reg_addr) { register int regno; int val; -- 2.30.2