aboutsummaryrefslogtreecommitdiff
path: root/gdb/mdebugread.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-06-04 00:41:10 +0000
committerKevin Buettner <kevinb@redhat.com>2000-06-04 00:41:10 +0000
commit507f3c78fb4a1235b731350d60f1bf0ce94b4175 (patch)
tree6ea9ac74469d05832c141119201193804a03f09c /gdb/mdebugread.c
parent450005e7c2e864ed0b7ab8c85947716cc707b98a (diff)
downloadfsf-binutils-gdb-507f3c78fb4a1235b731350d60f1bf0ce94b4175.zip
fsf-binutils-gdb-507f3c78fb4a1235b731350d60f1bf0ce94b4175.tar.gz
fsf-binutils-gdb-507f3c78fb4a1235b731350d60f1bf0ce94b4175.tar.bz2
Eliminate PARAMS from function pointer declarations.
Diffstat (limited to 'gdb/mdebugread.c')
-rw-r--r--gdb/mdebugread.c19
1 files changed, 7 insertions, 12 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c
index f17dc93..e377435 100644
--- a/gdb/mdebugread.c
+++ b/gdb/mdebugread.c
@@ -699,8 +699,7 @@ parse_symbol (sh, ax, ext_sh, bigend, section_offsets, objfile)
struct objfile *objfile;
{
const bfd_size_type external_sym_size = debug_swap->external_sym_size;
- void (*const swap_sym_in) PARAMS ((bfd *, PTR, SYMR *)) =
- debug_swap->swap_sym_in;
+ void (*const swap_sym_in) (bfd *, PTR, SYMR *) = debug_swap->swap_sym_in;
char *name;
struct symbol *s;
struct block *b;
@@ -2254,12 +2253,9 @@ parse_partial_symbols (objfile)
const bfd_size_type external_sym_size = debug_swap->external_sym_size;
const bfd_size_type external_rfd_size = debug_swap->external_rfd_size;
const bfd_size_type external_ext_size = debug_swap->external_ext_size;
- void (*const swap_ext_in) PARAMS ((bfd *, PTR, EXTR *))
- = debug_swap->swap_ext_in;
- void (*const swap_sym_in) PARAMS ((bfd *, PTR, SYMR *))
- = debug_swap->swap_sym_in;
- void (*const swap_rfd_in) PARAMS ((bfd *, PTR, RFDT *))
- = debug_swap->swap_rfd_in;
+ void (*const swap_ext_in) (bfd *, PTR, EXTR *) = debug_swap->swap_ext_in;
+ void (*const swap_sym_in) (bfd *, PTR, SYMR *) = debug_swap->swap_sym_in;
+ void (*const swap_rfd_in) (bfd *, PTR, RFDT *) = debug_swap->swap_rfd_in;
int f_idx, s_idx;
HDRR *hdr = &debug_info->symbolic_header;
/* Running pointers */
@@ -3167,8 +3163,7 @@ handle_psymbol_enumerators (objfile, fh, stype, svalue)
CORE_ADDR svalue;
{
const bfd_size_type external_sym_size = debug_swap->external_sym_size;
- void (*const swap_sym_in) PARAMS ((bfd *, PTR, SYMR *))
- = debug_swap->swap_sym_in;
+ void (*const swap_sym_in) (bfd *, PTR, SYMR *) = debug_swap->swap_sym_in;
char *ext_sym = ((char *) debug_info->external_sym
+ ((fh->isymBase + cur_sdx + 1) * external_sym_size));
SYMR sh;
@@ -3260,8 +3255,8 @@ psymtab_to_symtab_1 (pst, filename)
{
bfd_size_type external_sym_size;
bfd_size_type external_pdr_size;
- void (*swap_sym_in) PARAMS ((bfd *, PTR, SYMR *));
- void (*swap_pdr_in) PARAMS ((bfd *, PTR, PDR *));
+ void (*swap_sym_in) (bfd *, PTR, SYMR *);
+ void (*swap_pdr_in) (bfd *, PTR, PDR *);
int i;
struct symtab *st;
FDR *fh;