]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* elf32-arm.c (elf32_arm_reloc_type_lookup)
authorZack Weinberg <zackw@panix.com>
Tue, 31 May 2005 22:09:51 +0000 (22:09 +0000)
committerZack Weinberg <zackw@panix.com>
Tue, 31 May 2005 22:09:51 +0000 (22:09 +0000)
(elf32_arm_nabi_grok_prstatus, elf32_arm_nabi_grok_psinfo):
Use ISO C90 function declaration style.

bfd/ChangeLog
bfd/elf32-arm.c

index 0069e64ca5ed7bbd5b73de065277ba9127a89309..1ec391d290e00bf86082ea66ed578f0de858fa96 100644 (file)
@@ -1,3 +1,9 @@
+2005-05-31  Zack Weinberg  <zack@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_reloc_type_lookup)
+       (elf32_arm_nabi_grok_prstatus, elf32_arm_nabi_grok_psinfo):
+       Use ISO C90 function declaration style.
+
 2005-05-31  James E Wilson  <wilson@specifixinc.com>
 
        * elfcode.h (NAME(bfd_elf,bfd_from_remote_memory)): Check for program
index af46138baa64f1ba7d1ddf930eda52537d02d9c5..162b1be4d5d510455692f50f735ac0537b8a617d 100644 (file)
 #define ARM_ELF_ABI_VERSION            0
 #define ARM_ELF_OS_ABI_VERSION         ELFOSABI_ARM
 
-static reloc_howto_type * elf32_arm_reloc_type_lookup
-  PARAMS ((bfd * abfd, bfd_reloc_code_real_type code));
-static bfd_boolean elf32_arm_nabi_grok_prstatus
-  PARAMS ((bfd *abfd, Elf_Internal_Note *note));
-static bfd_boolean elf32_arm_nabi_grok_psinfo
-  PARAMS ((bfd *abfd, Elf_Internal_Note *note));
-
 /* Note: code such as elf32_arm_reloc_type_lookup expect to use e.g.
    R_ARM_PC24 as an index into this, and find the R_ARM_PC24 HOWTO
    in that slot.  */
@@ -1344,9 +1337,8 @@ static const struct elf32_arm_reloc_map elf32_arm_reloc_map[] =
   };
 
 static reloc_howto_type *
-elf32_arm_reloc_type_lookup (abfd, code)
-     bfd *abfd ATTRIBUTE_UNUSED;
-     bfd_reloc_code_real_type code;
+elf32_arm_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED,
+                            bfd_reloc_code_real_type code)
 {
   unsigned int i;
   for (i = 0; i < NUM_ELEM (elf32_arm_reloc_map); i ++)
@@ -1358,9 +1350,7 @@ elf32_arm_reloc_type_lookup (abfd, code)
 
 /* Support for core dump NOTE sections */
 static bfd_boolean
-elf32_arm_nabi_grok_prstatus (abfd, note)
-     bfd *abfd;
-     Elf_Internal_Note *note;
+elf32_arm_nabi_grok_prstatus (bfd *abfd, Elf_Internal_Note *note)
 {
   int offset;
   size_t size;
@@ -1390,9 +1380,7 @@ elf32_arm_nabi_grok_prstatus (abfd, note)
 }
 
 static bfd_boolean
-elf32_arm_nabi_grok_psinfo (abfd, note)
-     bfd *abfd;
-     Elf_Internal_Note *note;
+elf32_arm_nabi_grok_psinfo (bfd *abfd, Elf_Internal_Note *note)
 {
   switch (note->descsz)
     {