aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-09-27 17:43:07 +0000
committerKevin Buettner <kevinb@redhat.com>2000-09-27 17:43:07 +0000
commitfa6b9313b51c68d1ebd1007d97bca95ee3a1d47d (patch)
tree4c14c2de3b84f48f92e2afe607a29ec73bb8f6bc /gdb
parent47d89dba5e87eb8f200e5f1a8a37d71716856a6d (diff)
downloadgdb-fa6b9313b51c68d1ebd1007d97bca95ee3a1d47d.zip
gdb-fa6b9313b51c68d1ebd1007d97bca95ee3a1d47d.tar.gz
gdb-fa6b9313b51c68d1ebd1007d97bca95ee3a1d47d.tar.bz2
Protoization.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/os9kread.c19
-rw-r--r--gdb/osfsolib.c3
3 files changed, 12 insertions, 15 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0264aef..d2e4f9b 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 d9fafe5..00a5996 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 a59239e..7edb9dd 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;