* 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>
* 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. */
/*ARGSUSED*/
static bfd_boolean
xcoff_write_armap_old (abfd, elength, map, orl_count, stridx)
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
always uses an a.out header. */
/*ARGSUSED*/
static int
xcoff64_sizeof_headers (abfd, reloc)
bfd *abfd;

View File

@ -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;

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
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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

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

View File

@ -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;

View File

@ -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;

View File

@ -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 *),

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. */
/*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)

View File

@ -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;