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]

Fix K&R function definition


Spotted when debugging the bootstrap failure on SPARC.

Commited as obvious.


2004-05-31  Eric Botcazou  <ebotcazou@libertysurf.fr>

	* config/sol2.h (__enable_execute_stack): ANSIfy function
	definition.


-- 
Eric Botcazou
Index: config/sol2.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sol2.h,v
retrieving revision 1.9
diff -u -p -r1.9 sol2.h
--- config/sol2.h	18 Dec 2003 20:13:50 -0000	1.9
+++ config/sol2.h	31 May 2004 15:05:15 -0000
@@ -194,8 +194,7 @@ static void check_enabling(void)					\
 									\
 extern void __enable_execute_stack (void *);				\
 void									\
-__enable_execute_stack (addr)						\
-     void *addr;							\
+__enable_execute_stack (void *addr)					\
 {									\
   if (!need_enable_exec_stack)						\
     return;								\

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