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]

Warning fixes for ia64


Committed.

Andreas.

2003-11-01  Andreas Schwab  <schwab@suse.de>

	* config/ia64/sysv4.h (SDATA_SECTION_FUNCTION): Update to C90
	prototypes.
	(SBSS_SECTION_FUNCTION): Likewise.

--- gcc/config/ia64/sysv4.h.~1.29.~	2003-06-20 11:41:13.000000000 +0200
+++ gcc/config/ia64/sysv4.h	2003-11-01 17:31:17.000000000 +0100
@@ -133,7 +133,7 @@ do {									\
 
 #define SDATA_SECTION_FUNCTION						\
 void									\
-sdata_section ()							\
+sdata_section (void)							\
 {									\
   if (in_section != in_sdata)						\
     {									\
@@ -146,7 +146,7 @@ sdata_section ()							\
 
 #define SBSS_SECTION_FUNCTION						\
 void									\
-sbss_section ()								\
+sbss_section (void)							\
 {									\
   if (in_section != in_sbss)						\
     {									\

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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