* config/arm/pe.h: Convert to ISO C90.
authorNathanael Nerode <neroden@gcc.gnu.org>
Fri, 7 Nov 2003 18:45:26 +0000 (18:45 +0000)
committerNathanael Nerode <neroden@gcc.gnu.org>
Fri, 7 Nov 2003 18:45:26 +0000 (18:45 +0000)
From-SVN: r73341

gcc/ChangeLog
gcc/config/arm/pe.h

index 0e70f63..d8932b6 100644 (file)
@@ -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.
index bd0b660..7fba10b 100644 (file)
 
 #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;                                        \
     }                                                          \
 }
+