This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] convert alpha/{elf,unicosmk,vms.h} to C90


2003-11-07  Falk Hueffner  <falk@debian.org>

	* config/alpha/elf.h, config/alpha/unicosmk.h,
	config/alpha/vms.h: Convert to ISO C90.

Index: config/alpha/elf.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/alpha/elf.h,v
retrieving revision 1.73
diff -u -p -r1.73 elf.h
--- config/alpha/elf.h	27 Sep 2003 04:48:12 -0000	1.73
+++ config/alpha/elf.h	7 Nov 2003 18:56:29 -0000
@@ -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: config/alpha/unicosmk.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/alpha/unicosmk.h,v
retrieving revision 1.26
diff -u -p -r1.26 unicosmk.h
--- config/alpha/unicosmk.h	30 Oct 2003 02:02:34 -0000	1.26
+++ config/alpha/unicosmk.h	7 Nov 2003 18:56:29 -0000
@@ -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: config/alpha/vms.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/alpha/vms.h,v
retrieving revision 1.76
diff -u -p -r1.76 vms.h
--- config/alpha/vms.h	11 Oct 2003 16:54:17 -0000	1.76
+++ config/alpha/vms.h	7 Nov 2003 18:56:29 -0000
@@ -218,7 +218,7 @@ typedef struct {int num_args; enum avms_
 #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)				\
     {								\


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]