elf.h, [...]: Convert to ISO C90.
authorFalk Hueffner <falk@debian.org>
Fri, 7 Nov 2003 18:57:32 +0000 (19:57 +0100)
committerFalk Hueffner <falk@gcc.gnu.org>
Fri, 7 Nov 2003 18:57:32 +0000 (19:57 +0100)
        * config/alpha/elf.h, config/alpha/unicosmk.h,
        config/alpha/vms.h: Convert to ISO C90.

From-SVN: r73342

gcc/ChangeLog
gcc/config/alpha/elf.h
gcc/config/alpha/unicosmk.h
gcc/config/alpha/vms.h

index d8932b6..f658db5 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-07  Falk Hueffner  <falk@debian.org>
+
+       * config/alpha/elf.h, config/alpha/unicosmk.h,
+       config/alpha/vms.h: Convert to ISO C90.
+
 2003-11-07  Nathanael Nerode  <neroden@gcc.gnu.org>
 
        * config/arm/pe.h: Convert to ISO C90.
index f84fe3d..7115bc0 100644 (file)
@@ -215,7 +215,7 @@ extern void sdata_section (void);
 
 #undef  SECTION_FUNCTION_TEMPLATE
 #define SECTION_FUNCTION_TEMPLATE(FN, ENUM, OP)        \
-void FN ()                                     \
+void FN (void)                                 \
 {                                              \
   if (in_section != ENUM)                      \
     {                                          \
index 46877fb..5a74582 100644 (file)
@@ -290,7 +290,7 @@ SSIB_SECTION
 extern void common_section (void);
 #define COMMON_SECTION         \
 void                           \
-common_section ()              \
+common_section (void)          \
 {                              \
   in_section = in_common;      \
 }
@@ -298,7 +298,7 @@ common_section ()           \
 extern void ssib_section (void);
 #define SSIB_SECTION           \
 void                           \
-ssib_section ()                        \
+ssib_section (void)            \
 {                              \
   in_section = in_ssib;                \
 }
index 8b065e7..192e178 100644 (file)
@@ -218,7 +218,7 @@ typedef struct {int num_args; enum avms_arg_type atypes[6];} avms_arg_info;
 #undef EXTRA_SECTION_FUNCTIONS
 #define EXTRA_SECTION_FUNCTIONS                                        \
 void                                                           \
-link_section ()                                                        \
+link_section (void)                                            \
 {                                                              \
   if (in_section != in_link)                                   \
     {                                                          \
@@ -227,7 +227,7 @@ link_section ()                                                     \
     }                                                          \
 }                                                               \
 void                                                           \
-literals_section ()                                            \
+literals_section (void)                                                \
 {                                                              \
   if (in_section != in_literals)                               \
     {                                                          \