From fd6ba1fc70046c811ca29db41646eb599870f6f3 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 29 Jun 2003 13:51:25 +0000 Subject: [PATCH] * mmix.h: Convert to ISO C90 prototypes. * mips.h: Likewise. * reloc-macros.h (START_RELOC_NUMBERS): Convert to ISO C90 prototype. (RELOC_NUMBER): Remove !__STDC__ code. --- include/elf/ChangeLog | 11 ++++++++++- include/elf/mips.h | 14 +++++++------- include/elf/mmix.h | 8 ++++---- 3 files changed, 21 insertions(+), 12 deletions(-) diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index eb4b7ccb55e..4c13d02cd8e 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,12 @@ +2003-06-29 Andreas Jaeger + + * mmix.h: Convert to ISO C90 prototypes. + * mips.h: Likewise. + + * reloc-macros.h (START_RELOC_NUMBERS): Convert to ISO C90 + prototype. + (RELOC_NUMBER): Remove !__STDC__ code. + 2003-06-13 Robert Millan * common.h (GNU_ABI_TAG_NETBSD): New tag. @@ -95,7 +104,7 @@ 2002-04-02 Alexandre Oliva - * sh.h (EF_SH_MERGE_MACH): Handle SH2E. + * sh.h (EF_SH_MERGE_MACH): Handle SH2E. 2002-04-02 Elena Zannoni diff --git a/include/elf/mips.h b/include/elf/mips.h index 44f7cb9292c..4b36ff763e9 100644 --- a/include/elf/mips.h +++ b/include/elf/mips.h @@ -1,5 +1,5 @@ /* MIPS ELF support for BFD. - Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 + Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2003 Free Software Foundation, Inc. By Ian Lance Taylor, Cygnus Support, , from @@ -456,9 +456,9 @@ typedef struct /* MIPS ELF .reginfo swapping routines. */ extern void bfd_mips_elf32_swap_reginfo_in - PARAMS ((bfd *, const Elf32_External_RegInfo *, Elf32_RegInfo *)); + (bfd *, const Elf32_External_RegInfo *, Elf32_RegInfo *); extern void bfd_mips_elf32_swap_reginfo_out - PARAMS ((bfd *, const Elf32_RegInfo *, Elf32_External_RegInfo *)); + (bfd *, const Elf32_RegInfo *, Elf32_External_RegInfo *); /* Processor specific section flags. */ @@ -822,9 +822,9 @@ typedef struct /* MIPS ELF option header swapping routines. */ extern void bfd_mips_elf_swap_options_in - PARAMS ((bfd *, const Elf_External_Options *, Elf_Internal_Options *)); + (bfd *, const Elf_External_Options *, Elf_Internal_Options *); extern void bfd_mips_elf_swap_options_out - PARAMS ((bfd *, const Elf_Internal_Options *, Elf_External_Options *)); + (bfd *, const Elf_Internal_Options *, Elf_External_Options *); /* Values which may appear in the kind field of an Elf_Options structure. */ @@ -926,9 +926,9 @@ typedef struct /* MIPS ELF reginfo swapping routines. */ extern void bfd_mips_elf64_swap_reginfo_in - PARAMS ((bfd *, const Elf64_External_RegInfo *, Elf64_Internal_RegInfo *)); + (bfd *, const Elf64_External_RegInfo *, Elf64_Internal_RegInfo *); extern void bfd_mips_elf64_swap_reginfo_out - PARAMS ((bfd *, const Elf64_Internal_RegInfo *, Elf64_External_RegInfo *)); + (bfd *, const Elf64_Internal_RegInfo *, Elf64_External_RegInfo *); /* Masks for the info work of an ODK_EXCEPTIONS descriptor. */ #define OEX_FPU_MIN 0x1f /* FPEs which must be enabled. */ diff --git a/include/elf/mmix.h b/include/elf/mmix.h index 98536e2465c..fef3e91fd27 100644 --- a/include/elf/mmix.h +++ b/include/elf/mmix.h @@ -1,5 +1,5 @@ /* MMIX support for BFD. - Copyright 2001, 2002 Free Software Foundation, Inc. + Copyright 2001, 2002, 2003 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -158,11 +158,11 @@ END_RELOC_NUMBERS (R_MMIX_max) #ifdef BFD_ARCH_SIZE extern bfd_boolean _bfd_mmix_prepare_linker_allocated_gregs - PARAMS ((bfd *, struct bfd_link_info *)); + (bfd *, struct bfd_link_info *); extern bfd_boolean _bfd_mmix_finalize_linker_allocated_gregs - PARAMS ((bfd *, struct bfd_link_info *)); + (bfd *, struct bfd_link_info *); extern bfd_boolean _bfd_mmix_check_all_relocs - PARAMS ((bfd *, struct bfd_link_info *)); + (bfd *, struct bfd_link_info *); #endif #endif /* ELF_MMIX_H */ -- 2.30.2