diff options
-rw-r--r-- | bfd/ChangeLog | 19 | ||||
-rw-r--r-- | bfd/coff-rs6000.c | 1 | ||||
-rw-r--r-- | bfd/coff64-rs6000.c | 1 | ||||
-rw-r--r-- | bfd/coffcode.h | 1 | ||||
-rw-r--r-- | bfd/elf32-vax.c | 2 | ||||
-rw-r--r-- | bfd/hash.c | 1 | ||||
-rw-r--r-- | bfd/hppabsd-core.c | 2 | ||||
-rw-r--r-- | bfd/hpux-core.c | 2 | ||||
-rw-r--r-- | bfd/ihex.c | 1 | ||||
-rw-r--r-- | bfd/netbsd-core.c | 3 | ||||
-rw-r--r-- | bfd/osf-core.c | 2 | ||||
-rw-r--r-- | bfd/pdp11.c | 1 | ||||
-rw-r--r-- | bfd/ptrace-core.c | 3 | ||||
-rw-r--r-- | bfd/sco5-core.c | 3 | ||||
-rw-r--r-- | bfd/section.c | 2 | ||||
-rw-r--r-- | bfd/sunos.c | 3 | ||||
-rw-r--r-- | bfd/trad-core.c | 3 |
17 files changed, 19 insertions, 31 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a93e80f6918..7d33bd8c66d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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> * elf-bfd.h (is_elf_hash_table): Take hash tab rather than info arg. diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c index a7cf1ab139d..56e34e2d720 100644 --- a/bfd/coff-rs6000.c +++ b/bfd/coff-rs6000.c @@ -1575,7 +1575,6 @@ normalize_filename (abfd) /* Write out an XCOFF armap. */ -/*ARGSUSED*/ static bfd_boolean xcoff_write_armap_old (abfd, elength, map, orl_count, stridx) bfd *abfd; diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c index 0d7ab4f3da0..ec9c6953478 100644 --- a/bfd/coff64-rs6000.c +++ b/bfd/coff64-rs6000.c @@ -2054,7 +2054,6 @@ xcoff64_openr_next_archived_file (archive, last_file) /* We can't use the usual coff_sizeof_headers routine, because AIX always uses an a.out header. */ -/*ARGSUSED*/ static int xcoff64_sizeof_headers (abfd, reloc) bfd *abfd; diff --git a/bfd/coffcode.h b/bfd/coffcode.h index 6acdd3978b9..e2c27f051a5 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -5122,7 +5122,6 @@ static reloc_howto_type *coff_rtype_to_howto struct coff_link_hash_entry *, struct internal_syment *, bfd_vma *)); -/*ARGSUSED*/ static reloc_howto_type * coff_rtype_to_howto (abfd, sec, rel, h, sym, addendp) bfd *abfd ATTRIBUTE_UNUSED; diff --git a/bfd/elf32-vax.c b/bfd/elf32-vax.c index 21fdd9d06d5..c37ca005f01 100644 --- a/bfd/elf32-vax.c +++ b/bfd/elf32-vax.c @@ -1338,7 +1338,6 @@ elf_vax_size_dynamic_sections (output_bfd, info) 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. */ -/*ARGSUSED*/ static bfd_boolean elf_vax_discard_copies (h, ignore) 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 will be reserved for the symbol. */ -/*ARGSUSED*/ static bfd_boolean elf_vax_instantiate_got_entries (h, infoptr) struct elf_link_hash_entry *h; diff --git a/bfd/hash.c b/bfd/hash.c index 324855864a5..58fa5327bee 100644 --- a/bfd/hash.c +++ b/bfd/hash.c @@ -446,7 +446,6 @@ bfd_hash_replace (table, old, nw) /* Base method for creating a new hash table entry. */ -/*ARGSUSED*/ struct bfd_hash_entry * bfd_hash_newfunc (entry, table, string) struct bfd_hash_entry *entry; diff --git a/bfd/hppabsd-core.c b/bfd/hppabsd-core.c index 31aa2f14270..4d17ba567c0 100644 --- a/bfd/hppabsd-core.c +++ b/bfd/hppabsd-core.c @@ -213,7 +213,6 @@ hppabsd_core_core_file_failing_command (abfd) return core_command (abfd); } -/* ARGSUSED */ static int hppabsd_core_core_file_failing_signal (abfd) bfd *abfd; @@ -221,7 +220,6 @@ hppabsd_core_core_file_failing_signal (abfd) return core_signal (abfd); } -/* ARGSUSED */ static bfd_boolean hppabsd_core_core_file_matches_executable_p (core_bfd, exec_bfd) bfd *core_bfd, *exec_bfd; diff --git a/bfd/hpux-core.c b/bfd/hpux-core.c index b4869fc8241..04d29117d09 100644 --- a/bfd/hpux-core.c +++ b/bfd/hpux-core.c @@ -327,7 +327,6 @@ hpux_core_core_file_failing_command (abfd) return core_command (abfd); } -/* ARGSUSED */ static int hpux_core_core_file_failing_signal (abfd) bfd *abfd; @@ -335,7 +334,6 @@ hpux_core_core_file_failing_signal (abfd) return core_signal (abfd); } -/* ARGSUSED */ static bfd_boolean hpux_core_core_file_matches_executable_p (core_bfd, exec_bfd) bfd *core_bfd ATTRIBUTE_UNUSED; diff --git a/bfd/ihex.c b/bfd/ihex.c index b068bd98a8e..5d2d47fbcb7 100644 --- a/bfd/ihex.c +++ b/bfd/ihex.c @@ -948,7 +948,6 @@ ihex_set_arch_mach (abfd, arch, mach) /* Get the size of the headers, for the linker. */ -/*ARGSUSED*/ static int ihex_sizeof_headers (abfd, exec) bfd *abfd ATTRIBUTE_UNUSED; diff --git a/bfd/netbsd-core.c b/bfd/netbsd-core.c index a9f1260271c..7498990a4ef 100644 --- a/bfd/netbsd-core.c +++ b/bfd/netbsd-core.c @@ -53,7 +53,6 @@ static void swap_abort /* Handle NetBSD-style core dump file. */ -/* ARGSUSED */ static const bfd_target * netbsd_core_file_p (abfd) bfd *abfd; @@ -179,7 +178,6 @@ netbsd_core_file_failing_command (abfd) return abfd->tdata.netbsd_core_data->core.c_name; } -/* ARGSUSED */ static int netbsd_core_file_failing_signal (abfd) bfd *abfd; @@ -188,7 +186,6 @@ netbsd_core_file_failing_signal (abfd) return abfd->tdata.netbsd_core_data->core.c_signo; } -/* ARGSUSED */ static bfd_boolean netbsd_core_file_matches_executable_p (core_bfd, exec_bfd) bfd *core_bfd ATTRIBUTE_UNUSED; diff --git a/bfd/osf-core.c b/bfd/osf-core.c index 95292a3e4bc..9ba0d189af9 100644 --- a/bfd/osf-core.c +++ b/bfd/osf-core.c @@ -164,7 +164,6 @@ osf_core_core_file_failing_command (abfd) return core_command (abfd); } -/* ARGSUSED */ static int osf_core_core_file_failing_signal (abfd) bfd *abfd; @@ -172,7 +171,6 @@ osf_core_core_file_failing_signal (abfd) return core_signal (abfd); } -/* ARGSUSED */ static bfd_boolean osf_core_core_file_matches_executable_p (core_bfd, exec_bfd) bfd *core_bfd ATTRIBUTE_UNUSED; diff --git a/bfd/pdp11.c b/bfd/pdp11.c index 3d009ba24c6..a4af824e459 100644 --- a/bfd/pdp11.c +++ b/bfd/pdp11.c @@ -2469,7 +2469,6 @@ NAME(aout,get_symbol_info) (abfd, symbol, ret) } } -/*ARGSUSED*/ void NAME(aout,print_symbol) (abfd, afile, symbol, how) bfd * abfd; diff --git a/bfd/ptrace-core.c b/bfd/ptrace-core.c index 23bc8dee8a3..4f441ce6c90 100644 --- a/bfd/ptrace-core.c +++ b/bfd/ptrace-core.c @@ -55,7 +55,6 @@ bfd_boolean ptrace_unix_core_file_matches_executable_p PARAMS ((bfd *core_bfd, bfd *exec_bfd)); static void swap_abort PARAMS ((void)); -/* ARGSUSED */ const bfd_target * ptrace_unix_core_file_p (abfd) bfd *abfd; @@ -146,7 +145,6 @@ ptrace_unix_core_file_failing_command (abfd) return 0; } -/* ARGSUSED */ int ptrace_unix_core_file_failing_signal (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; } -/* ARGSUSED */ bfd_boolean ptrace_unix_core_file_matches_executable_p (core_bfd, exec_bfd) bfd *core_bfd, *exec_bfd; diff --git a/bfd/sco5-core.c b/bfd/sco5-core.c index 4928622fe19..311de704f62 100644 --- a/bfd/sco5-core.c +++ b/bfd/sco5-core.c @@ -110,7 +110,6 @@ read_uarea(abfd, filepos) return &rawptr->u; } -/* ARGSUSED */ const bfd_target * sco5_core_file_p (abfd) bfd *abfd; @@ -338,7 +337,6 @@ sco5_core_file_failing_command (abfd) return NULL; } -/* ARGSUSED */ int sco5_core_file_failing_signal (ignore_abfd) bfd *ignore_abfd; @@ -348,7 +346,6 @@ sco5_core_file_failing_signal (ignore_abfd) : -1); } -/* ARGSUSED */ bfd_boolean sco5_core_file_matches_executable_p (core_bfd, exec_bfd) bfd *core_bfd ATTRIBUTE_UNUSED; diff --git a/bfd/section.c b/bfd/section.c index 752d03313d8..fce8e1eab3d 100644 --- a/bfd/section.c +++ b/bfd/section.c @@ -1025,7 +1025,6 @@ DESCRIPTION */ -/*ARGSUSED*/ bfd_boolean bfd_set_section_flags (bfd *abfd ATTRIBUTE_UNUSED, sec_ptr section, @@ -1074,7 +1073,6 @@ DESCRIPTION */ -/*VARARGS2*/ void bfd_map_over_sections (bfd *abfd, void (*operation) (bfd *, asection *, void *), diff --git a/bfd/sunos.c b/bfd/sunos.c index fb8e17bcfd1..5b1b18b9d76 100644 --- a/bfd/sunos.c +++ b/bfd/sunos.c @@ -1246,7 +1246,6 @@ sunos_add_one_symbol (info, abfd, name, flags, section, value, string, /* Return the list of objects needed by BFD. */ -/*ARGSUSED*/ struct bfd_link_needed_list * bfd_sunos_get_needed_list (abfd, info) 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 code from doing anything with the object. */ -/*ARGSUSED*/ static bfd_boolean sunos_link_dynamic_object (info, abfd) 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 reloc. */ -/*ARGSUSED*/ static bfd_boolean sunos_check_dynamic_reloc (info, input_bfd, input_section, harg, reloc, contents, skip, relocationp) diff --git a/bfd/trad-core.c b/bfd/trad-core.c index 958ce11eb4d..06031509f52 100644 --- a/bfd/trad-core.c +++ b/bfd/trad-core.c @@ -71,7 +71,6 @@ static void swap_abort PARAMS ((void)); /* Handle 4.2-style (and perhaps also sysV-style) core dump file. */ -/* ARGSUSED */ const bfd_target * trad_unix_core_file_p (abfd) bfd *abfd; @@ -248,7 +247,6 @@ trad_unix_core_file_failing_command (abfd) return 0; } -/* ARGSUSED */ int trad_unix_core_file_failing_signal (ignore_abfd) bfd *ignore_abfd ATTRIBUTE_UNUSED; @@ -260,7 +258,6 @@ trad_unix_core_file_failing_signal (ignore_abfd) #endif } -/* ARGSUSED */ bfd_boolean trad_unix_core_file_matches_executable_p (core_bfd, exec_bfd) bfd *core_bfd ATTRIBUTE_UNUSED; |