From fa6b9313b51c68d1ebd1007d97bca95ee3a1d47d Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Wed, 27 Sep 2000 17:43:07 +0000 Subject: [PATCH] Protoization. --- gdb/ChangeLog | 5 +++++ gdb/os9kread.c | 19 ++++++------------- gdb/osfsolib.c | 3 +-- 3 files changed, 12 insertions(+), 15 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0264aef421c..d2e4f9bd6a6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-09-27 Kevin Buettner + + * os9kread.c (os9k_symfile_read, os9k_end_psymtab): Protoize. + * osfsolib.c (find_solib): Protoize. + 2000-09-25 Kevin Buettner * ns32knbsd-nat.c (fetch_core_registers): Protoize. diff --git a/gdb/os9kread.c b/gdb/os9kread.c index d9fafe553a7..00a59968bcd 100644 --- a/gdb/os9kread.c +++ b/gdb/os9kread.c @@ -312,9 +312,7 @@ read_minimal_symbols (struct objfile *objfile) table (as opposed to a shared lib or dynamically loaded file). */ static void -os9k_symfile_read (objfile, mainline) - struct objfile *objfile; - int mainline; /* FIXME comments above */ +os9k_symfile_read (struct objfile *objfile, int mainline) { bfd *sym_bfd; struct cleanup *back_to; @@ -987,16 +985,11 @@ os9k_start_psymtab (struct objfile *objfile, char *filename, CORE_ADDR textlow, FIXME: List variables and peculiarities of same. */ static struct partial_symtab * -os9k_end_psymtab (pst, include_list, num_includes, capping_symbol_cnt, - capping_text, dependency_list, number_dependencies) - struct partial_symtab *pst; - char **include_list; - int num_includes; - int capping_symbol_cnt; - CORE_ADDR capping_text; - struct partial_symtab **dependency_list; - int number_dependencies; - /* struct partial_symbol *capping_global, *capping_static; */ +os9k_end_psymtab (struct partial_symtab *pst, char **include_list, + int num_includes, int capping_symbol_cnt, + CORE_ADDR capping_text, + struct partial_symtab **dependency_list, + int number_dependencies) { int i; struct partial_symtab *p1; diff --git a/gdb/osfsolib.c b/gdb/osfsolib.c index a59239e2f14..7edb9ddbcd3 100644 --- a/gdb/osfsolib.c +++ b/gdb/osfsolib.c @@ -507,8 +507,7 @@ xfer_link_map_member (struct so_list *so_list_ptr, struct link_map *lm) */ static struct so_list * -find_solib (so_list_ptr) - struct so_list *so_list_ptr; /* Last lm or NULL for first one */ +find_solib (struct so_list *so_list_ptr) { struct so_list *so_list_next = NULL; struct link_map *lm = NULL; -- 2.30.2