* coff-rs6000.c: Remove ARGSUSED and VARARGS.

* coff64-rs6000.c: Likewise.
	* coffcode.h: Likewise.
	* elf32-vax.c: Likewise.
	* hash.c: Likewise.
	* hppabsd-core.c: Likewise.
	* hpux-core.c: Likewise.
	* ihex.c: Likewise.
	* netbsd-core.c: Likewise.
	* osf-core.c: Likewise.
	* pdp11.c: Likewise.
	* ptrace-core.c: Likewise.
	* sco5-core.c: Likewise.
	* section.c: Likewise.
	* sunos.c: Likewise.
	* trad-core.c: Likewise.
This commit is contained in:
Kazu Hirata 2003-12-01 06:33:01 +00:00
parent fd574c4615
commit 1c3bed7b30
17 changed files with 19 additions and 31 deletions

View file

@ -1,3 +1,22 @@
2003-12-01 Kazu Hirata <kazu@cs.umass.edu>
* coff-rs6000.c: Remove ARGSUSED and VARARGS.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* elf32-vax.c: Likewise.
* hash.c: Likewise.
* hppabsd-core.c: Likewise.
* hpux-core.c: Likewise.
* ihex.c: Likewise.
* netbsd-core.c: Likewise.
* osf-core.c: Likewise.
* pdp11.c: Likewise.
* ptrace-core.c: Likewise.
* sco5-core.c: Likewise.
* section.c: Likewise.
* sunos.c: Likewise.
* trad-core.c: Likewise.
2003-12-01 Alan Modra <amodra@bigpond.net.au> 2003-12-01 Alan Modra <amodra@bigpond.net.au>
* elf-bfd.h (is_elf_hash_table): Take hash tab rather than info arg. * elf-bfd.h (is_elf_hash_table): Take hash tab rather than info arg.

View file

@ -1575,7 +1575,6 @@ normalize_filename (abfd)
/* Write out an XCOFF armap. */ /* Write out an XCOFF armap. */
/*ARGSUSED*/
static bfd_boolean static bfd_boolean
xcoff_write_armap_old (abfd, elength, map, orl_count, stridx) xcoff_write_armap_old (abfd, elength, map, orl_count, stridx)
bfd *abfd; bfd *abfd;

View file

@ -2054,7 +2054,6 @@ xcoff64_openr_next_archived_file (archive, last_file)
/* We can't use the usual coff_sizeof_headers routine, because AIX /* We can't use the usual coff_sizeof_headers routine, because AIX
always uses an a.out header. */ always uses an a.out header. */
/*ARGSUSED*/
static int static int
xcoff64_sizeof_headers (abfd, reloc) xcoff64_sizeof_headers (abfd, reloc)
bfd *abfd; bfd *abfd;

View file

@ -5122,7 +5122,6 @@ static reloc_howto_type *coff_rtype_to_howto
struct coff_link_hash_entry *, struct internal_syment *, struct coff_link_hash_entry *, struct internal_syment *,
bfd_vma *)); bfd_vma *));
/*ARGSUSED*/
static reloc_howto_type * static reloc_howto_type *
coff_rtype_to_howto (abfd, sec, rel, h, sym, addendp) coff_rtype_to_howto (abfd, sec, rel, h, sym, addendp)
bfd *abfd ATTRIBUTE_UNUSED; bfd *abfd ATTRIBUTE_UNUSED;

View file

@ -1338,7 +1338,6 @@ elf_vax_size_dynamic_sections (output_bfd, info)
in regular objects. We allocated space for them in the check_relocs in regular objects. We allocated space for them in the check_relocs
routine, but we won't fill them in in the relocate_section routine. */ routine, but we won't fill them in in the relocate_section routine. */
/*ARGSUSED*/
static bfd_boolean static bfd_boolean
elf_vax_discard_copies (h, ignore) elf_vax_discard_copies (h, ignore)
struct elf_vax_link_hash_entry *h; struct elf_vax_link_hash_entry *h;
@ -1366,7 +1365,6 @@ elf_vax_discard_copies (h, ignore)
creating a shared object or executable, space in the .got and .rela.got creating a shared object or executable, space in the .got and .rela.got
will be reserved for the symbol. */ will be reserved for the symbol. */
/*ARGSUSED*/
static bfd_boolean static bfd_boolean
elf_vax_instantiate_got_entries (h, infoptr) elf_vax_instantiate_got_entries (h, infoptr)
struct elf_link_hash_entry *h; struct elf_link_hash_entry *h;

View file

@ -446,7 +446,6 @@ bfd_hash_replace (table, old, nw)
/* Base method for creating a new hash table entry. */ /* Base method for creating a new hash table entry. */
/*ARGSUSED*/
struct bfd_hash_entry * struct bfd_hash_entry *
bfd_hash_newfunc (entry, table, string) bfd_hash_newfunc (entry, table, string)
struct bfd_hash_entry *entry; struct bfd_hash_entry *entry;

View file

@ -213,7 +213,6 @@ hppabsd_core_core_file_failing_command (abfd)
return core_command (abfd); return core_command (abfd);
} }
/* ARGSUSED */
static int static int
hppabsd_core_core_file_failing_signal (abfd) hppabsd_core_core_file_failing_signal (abfd)
bfd *abfd; bfd *abfd;
@ -221,7 +220,6 @@ hppabsd_core_core_file_failing_signal (abfd)
return core_signal (abfd); return core_signal (abfd);
} }
/* ARGSUSED */
static bfd_boolean static bfd_boolean
hppabsd_core_core_file_matches_executable_p (core_bfd, exec_bfd) hppabsd_core_core_file_matches_executable_p (core_bfd, exec_bfd)
bfd *core_bfd, *exec_bfd; bfd *core_bfd, *exec_bfd;

View file

@ -327,7 +327,6 @@ hpux_core_core_file_failing_command (abfd)
return core_command (abfd); return core_command (abfd);
} }
/* ARGSUSED */
static int static int
hpux_core_core_file_failing_signal (abfd) hpux_core_core_file_failing_signal (abfd)
bfd *abfd; bfd *abfd;
@ -335,7 +334,6 @@ hpux_core_core_file_failing_signal (abfd)
return core_signal (abfd); return core_signal (abfd);
} }
/* ARGSUSED */
static bfd_boolean static bfd_boolean
hpux_core_core_file_matches_executable_p (core_bfd, exec_bfd) hpux_core_core_file_matches_executable_p (core_bfd, exec_bfd)
bfd *core_bfd ATTRIBUTE_UNUSED; bfd *core_bfd ATTRIBUTE_UNUSED;

View file

@ -948,7 +948,6 @@ ihex_set_arch_mach (abfd, arch, mach)
/* Get the size of the headers, for the linker. */ /* Get the size of the headers, for the linker. */
/*ARGSUSED*/
static int static int
ihex_sizeof_headers (abfd, exec) ihex_sizeof_headers (abfd, exec)
bfd *abfd ATTRIBUTE_UNUSED; bfd *abfd ATTRIBUTE_UNUSED;

View file

@ -53,7 +53,6 @@ static void swap_abort
/* Handle NetBSD-style core dump file. */ /* Handle NetBSD-style core dump file. */
/* ARGSUSED */
static const bfd_target * static const bfd_target *
netbsd_core_file_p (abfd) netbsd_core_file_p (abfd)
bfd *abfd; bfd *abfd;
@ -179,7 +178,6 @@ netbsd_core_file_failing_command (abfd)
return abfd->tdata.netbsd_core_data->core.c_name; return abfd->tdata.netbsd_core_data->core.c_name;
} }
/* ARGSUSED */
static int static int
netbsd_core_file_failing_signal (abfd) netbsd_core_file_failing_signal (abfd)
bfd *abfd; bfd *abfd;
@ -188,7 +186,6 @@ netbsd_core_file_failing_signal (abfd)
return abfd->tdata.netbsd_core_data->core.c_signo; return abfd->tdata.netbsd_core_data->core.c_signo;
} }
/* ARGSUSED */
static bfd_boolean static bfd_boolean
netbsd_core_file_matches_executable_p (core_bfd, exec_bfd) netbsd_core_file_matches_executable_p (core_bfd, exec_bfd)
bfd *core_bfd ATTRIBUTE_UNUSED; bfd *core_bfd ATTRIBUTE_UNUSED;

View file

@ -164,7 +164,6 @@ osf_core_core_file_failing_command (abfd)
return core_command (abfd); return core_command (abfd);
} }
/* ARGSUSED */
static int static int
osf_core_core_file_failing_signal (abfd) osf_core_core_file_failing_signal (abfd)
bfd *abfd; bfd *abfd;
@ -172,7 +171,6 @@ osf_core_core_file_failing_signal (abfd)
return core_signal (abfd); return core_signal (abfd);
} }
/* ARGSUSED */
static bfd_boolean static bfd_boolean
osf_core_core_file_matches_executable_p (core_bfd, exec_bfd) osf_core_core_file_matches_executable_p (core_bfd, exec_bfd)
bfd *core_bfd ATTRIBUTE_UNUSED; bfd *core_bfd ATTRIBUTE_UNUSED;

View file

@ -2469,7 +2469,6 @@ NAME(aout,get_symbol_info) (abfd, symbol, ret)
} }
} }
/*ARGSUSED*/
void void
NAME(aout,print_symbol) (abfd, afile, symbol, how) NAME(aout,print_symbol) (abfd, afile, symbol, how)
bfd * abfd; bfd * abfd;

View file

@ -55,7 +55,6 @@ bfd_boolean ptrace_unix_core_file_matches_executable_p
PARAMS ((bfd *core_bfd, bfd *exec_bfd)); PARAMS ((bfd *core_bfd, bfd *exec_bfd));
static void swap_abort PARAMS ((void)); static void swap_abort PARAMS ((void));
/* ARGSUSED */
const bfd_target * const bfd_target *
ptrace_unix_core_file_p (abfd) ptrace_unix_core_file_p (abfd)
bfd *abfd; bfd *abfd;
@ -146,7 +145,6 @@ ptrace_unix_core_file_failing_command (abfd)
return 0; return 0;
} }
/* ARGSUSED */
int int
ptrace_unix_core_file_failing_signal (abfd) ptrace_unix_core_file_failing_signal (abfd)
bfd *abfd; bfd *abfd;
@ -154,7 +152,6 @@ ptrace_unix_core_file_failing_signal (abfd)
return abfd->tdata.trad_core_data->u.pt_sigframe.sig_num; return abfd->tdata.trad_core_data->u.pt_sigframe.sig_num;
} }
/* ARGSUSED */
bfd_boolean bfd_boolean
ptrace_unix_core_file_matches_executable_p (core_bfd, exec_bfd) ptrace_unix_core_file_matches_executable_p (core_bfd, exec_bfd)
bfd *core_bfd, *exec_bfd; bfd *core_bfd, *exec_bfd;

View file

@ -110,7 +110,6 @@ read_uarea(abfd, filepos)
return &rawptr->u; return &rawptr->u;
} }
/* ARGSUSED */
const bfd_target * const bfd_target *
sco5_core_file_p (abfd) sco5_core_file_p (abfd)
bfd *abfd; bfd *abfd;
@ -338,7 +337,6 @@ sco5_core_file_failing_command (abfd)
return NULL; return NULL;
} }
/* ARGSUSED */
int int
sco5_core_file_failing_signal (ignore_abfd) sco5_core_file_failing_signal (ignore_abfd)
bfd *ignore_abfd; bfd *ignore_abfd;
@ -348,7 +346,6 @@ sco5_core_file_failing_signal (ignore_abfd)
: -1); : -1);
} }
/* ARGSUSED */
bfd_boolean bfd_boolean
sco5_core_file_matches_executable_p (core_bfd, exec_bfd) sco5_core_file_matches_executable_p (core_bfd, exec_bfd)
bfd *core_bfd ATTRIBUTE_UNUSED; bfd *core_bfd ATTRIBUTE_UNUSED;

View file

@ -1025,7 +1025,6 @@ DESCRIPTION
*/ */
/*ARGSUSED*/
bfd_boolean bfd_boolean
bfd_set_section_flags (bfd *abfd ATTRIBUTE_UNUSED, bfd_set_section_flags (bfd *abfd ATTRIBUTE_UNUSED,
sec_ptr section, sec_ptr section,
@ -1074,7 +1073,6 @@ DESCRIPTION
*/ */
/*VARARGS2*/
void void
bfd_map_over_sections (bfd *abfd, bfd_map_over_sections (bfd *abfd,
void (*operation) (bfd *, asection *, void *), void (*operation) (bfd *, asection *, void *),

View file

@ -1246,7 +1246,6 @@ sunos_add_one_symbol (info, abfd, name, flags, section, value, string,
/* Return the list of objects needed by BFD. */ /* Return the list of objects needed by BFD. */
/*ARGSUSED*/
struct bfd_link_needed_list * struct bfd_link_needed_list *
bfd_sunos_get_needed_list (abfd, info) bfd_sunos_get_needed_list (abfd, info)
bfd *abfd ATTRIBUTE_UNUSED; bfd *abfd ATTRIBUTE_UNUSED;
@ -2165,7 +2164,6 @@ sunos_scan_dynamic_symbol (h, data)
this point. This entry point exists to prevent the regular linker this point. This entry point exists to prevent the regular linker
code from doing anything with the object. */ code from doing anything with the object. */
/*ARGSUSED*/
static bfd_boolean static bfd_boolean
sunos_link_dynamic_object (info, abfd) sunos_link_dynamic_object (info, abfd)
struct bfd_link_info *info ATTRIBUTE_UNUSED; struct bfd_link_info *info ATTRIBUTE_UNUSED;
@ -2410,7 +2408,6 @@ sunos_write_dynamic_symbol (output_bfd, info, harg)
copy it over, and tell the caller to not bother processing this copy it over, and tell the caller to not bother processing this
reloc. */ reloc. */
/*ARGSUSED*/
static bfd_boolean static bfd_boolean
sunos_check_dynamic_reloc (info, input_bfd, input_section, harg, reloc, sunos_check_dynamic_reloc (info, input_bfd, input_section, harg, reloc,
contents, skip, relocationp) contents, skip, relocationp)

View file

@ -71,7 +71,6 @@ static void swap_abort PARAMS ((void));
/* Handle 4.2-style (and perhaps also sysV-style) core dump file. */ /* Handle 4.2-style (and perhaps also sysV-style) core dump file. */
/* ARGSUSED */
const bfd_target * const bfd_target *
trad_unix_core_file_p (abfd) trad_unix_core_file_p (abfd)
bfd *abfd; bfd *abfd;
@ -248,7 +247,6 @@ trad_unix_core_file_failing_command (abfd)
return 0; return 0;
} }
/* ARGSUSED */
int int
trad_unix_core_file_failing_signal (ignore_abfd) trad_unix_core_file_failing_signal (ignore_abfd)
bfd *ignore_abfd ATTRIBUTE_UNUSED; bfd *ignore_abfd ATTRIBUTE_UNUSED;
@ -260,7 +258,6 @@ trad_unix_core_file_failing_signal (ignore_abfd)
#endif #endif
} }
/* ARGSUSED */
bfd_boolean bfd_boolean
trad_unix_core_file_matches_executable_p (core_bfd, exec_bfd) trad_unix_core_file_matches_executable_p (core_bfd, exec_bfd)
bfd *core_bfd ATTRIBUTE_UNUSED; bfd *core_bfd ATTRIBUTE_UNUSED;