OSDN Git Service

* coff-rs6000.c: Remove ARGSUSED and VARARGS.
authorKazu Hirata <kazu@codesourcery.com>
Mon, 1 Dec 2003 06:33:01 +0000 (06:33 +0000)
committerKazu Hirata <kazu@codesourcery.com>
Mon, 1 Dec 2003 06:33:01 +0000 (06:33 +0000)
* 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.

17 files changed:
bfd/ChangeLog
bfd/coff-rs6000.c
bfd/coff64-rs6000.c
bfd/coffcode.h
bfd/elf32-vax.c
bfd/hash.c
bfd/hppabsd-core.c
bfd/hpux-core.c
bfd/ihex.c
bfd/netbsd-core.c
bfd/osf-core.c
bfd/pdp11.c
bfd/ptrace-core.c
bfd/sco5-core.c
bfd/section.c
bfd/sunos.c
bfd/trad-core.c

index a93e80f..7d33bd8 100644 (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.
index a7cf1ab..56e34e2 100644 (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;
index 0d7ab4f..ec9c695 100644 (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;
index 6acdd39..e2c27f0 100644 (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;
index 21fdd9d..c37ca00 100644 (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;
index 3248558..58fa532 100644 (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;
index 31aa2f1..4d17ba5 100644 (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;
index b4869fc..04d2911 100644 (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;
index b068bd9..5d2d47f 100644 (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;
index a9f1260..7498990 100644 (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;
index 95292a3..9ba0d18 100644 (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;
index 3d009ba..a4af824 100644 (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;
index 23bc8de..4f441ce 100644 (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;
index 4928622..311de70 100644 (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;
index 752d033..fce8e1e 100644 (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 *),
index fb8e17b..5b1b18b 100644 (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)
index 958ce11..0603150 100644 (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;