diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/arm/pe.h | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0e70f63..d8932b6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-11-07 Nathanael Nerode <neroden@gcc.gnu.org> + + * config/arm/pe.h: Convert to ISO C90. + 2003-11-07 J"orn Rennecke <joern.rennecke@superh.com> * sh-protos.h (sh_pch_valid_p): Declare. diff --git a/gcc/config/arm/pe.h b/gcc/config/arm/pe.h index bd0b660..7fba10b 100644 --- a/gcc/config/arm/pe.h +++ b/gcc/config/arm/pe.h @@ -187,7 +187,7 @@ #define DRECTVE_SECTION_FUNCTION \ void \ -drectve_section () \ +drectve_section (void) \ { \ if (in_section != in_drectve) \ { \ @@ -203,11 +203,8 @@ drectve_section () \ ASM_DECLARE_OBJECT_NAME and then switch back to the original section afterwards. */ #define SWITCH_TO_SECTION_FUNCTION \ -static void switch_to_section PARAMS ((enum in_section, tree)); \ static void \ -switch_to_section (section, decl) \ - enum in_section section; \ - tree decl; \ +switch_to_section (enum in_section section, tree decl) \ { \ switch (section) \ { \ @@ -221,3 +218,4 @@ switch_to_section (section, decl) \ default: abort (); break; \ } \ } + |