diff options
author | Zack Weinberg <zackw@panix.com> | 2005-05-31 22:09:51 +0000 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2005-05-31 22:09:51 +0000 |
commit | f1c71a597bc87527b11b39b7732115a1e751be4e (patch) | |
tree | d34ab0011b117ed822a815d01c4167ee0c4096fa | |
parent | 653bb2ded0633433a664b96afdec4cbf620315b5 (diff) | |
download | gdb-f1c71a597bc87527b11b39b7732115a1e751be4e.zip gdb-f1c71a597bc87527b11b39b7732115a1e751be4e.tar.gz gdb-f1c71a597bc87527b11b39b7732115a1e751be4e.tar.bz2 |
* elf32-arm.c (elf32_arm_reloc_type_lookup)
(elf32_arm_nabi_grok_prstatus, elf32_arm_nabi_grok_psinfo):
Use ISO C90 function declaration style.
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/elf32-arm.c | 20 |
2 files changed, 10 insertions, 16 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0069e64..1ec391d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index af46138..162b1be 100644 --- a/bfd/elf32-arm.c +++ b/bfd/elf32-arm.c @@ -34,13 +34,6 @@ #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) { |