diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-07-30 01:48:28 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-07-30 01:48:28 +0000 |
commit | fba45db2faf619e71856ee38ec63949c0ef6903e (patch) | |
tree | 107efc21d2b12f54d84b59e75251449e3d5fd096 /gdb/nlmread.c | |
parent | 29e6d33b03a5e39540d17bc8235573b1dac13341 (diff) | |
download | gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.zip gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.gz gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.bz2 |
Protoization.
Diffstat (limited to 'gdb/nlmread.c')
-rw-r--r-- | gdb/nlmread.c | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/gdb/nlmread.c b/gdb/nlmread.c index c710b0a..dcc95d9 100644 --- a/gdb/nlmread.c +++ b/gdb/nlmread.c @@ -49,8 +49,7 @@ static void nlm_symtab_read (bfd *, CORE_ADDR, struct objfile *); file at some point in the near future. */ static void -nlm_new_init (ignore) - struct objfile *ignore; +nlm_new_init (struct objfile *ignore) { stabsread_new_init (); buildsym_new_init (); @@ -67,8 +66,7 @@ nlm_new_init (ignore) just a stub. */ static void -nlm_symfile_init (ignore) - struct objfile *ignore; +nlm_symfile_init (struct objfile *ignore) { } @@ -92,10 +90,7 @@ nlm_symfile_init (ignore) */ static void -nlm_symtab_read (abfd, addr, objfile) - bfd *abfd; - CORE_ADDR addr; - struct objfile *objfile; +nlm_symtab_read (bfd *abfd, CORE_ADDR addr, struct objfile *objfile) { long storage_needed; asymbol *sym; @@ -177,9 +172,7 @@ nlm_symtab_read (abfd, addr, objfile) is not currently used. */ static void -nlm_symfile_read (objfile, mainline) - struct objfile *objfile; - int mainline; +nlm_symfile_read (struct objfile *objfile, int mainline) { bfd *abfd = objfile->obfd; struct cleanup *back_to; @@ -228,8 +221,7 @@ nlm_symfile_read (objfile, mainline) objfile struct from the global list of known objfiles. */ static void -nlm_symfile_finish (objfile) - struct objfile *objfile; +nlm_symfile_finish (struct objfile *objfile) { if (objfile->sym_private != NULL) { @@ -251,7 +243,7 @@ static struct sym_fns nlm_sym_fns = }; void -_initialize_nlmread () +_initialize_nlmread (void) { add_symtab_fns (&nlm_sym_fns); } |