diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-09-27 17:43:07 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-09-27 17:43:07 +0000 |
commit | 4b75ce5745d2bc5bb66105ebea625dcc5729003e (patch) | |
tree | 607450d3cdaca4081c795be6625059c6ead2732d /gdb | |
parent | c0c05ff02ba9e0632df2c6c65889aec2af97d4f5 (diff) | |
download | gdb-4b75ce5745d2bc5bb66105ebea625dcc5729003e.tar.gz |
Protoization.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/os9kread.c | 19 | ||||
-rw-r--r-- | 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 <kevinb@redhat.com> + + * os9kread.c (os9k_symfile_read, os9k_end_psymtab): Protoize. + * osfsolib.c (find_solib): Protoize. + 2000-09-25 Kevin Buettner <kevinb@redhat.com> * 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; |