[2313] 2009-06-11 Christian Franke <[email protected]>

Christian Franke <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 2313
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2313
Author:   chrfranke
Date:     2009-06-11 21:39:03 +0000 (Thu, 11 Jun 2009)
Log Message:
-----------
2009-06-11  Christian Franke  <[email protected]>

	* kern/misc.c (__enable_execute_stack): Add missing return type
	to prevent gcc warning.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/kern/misc.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-06-11 21:28:11 UTC (rev 2312)
+++ trunk/grub2/ChangeLog	2009-06-11 21:39:03 UTC (rev 2313)
@@ -1,3 +1,8 @@
+2009-06-11  Christian Franke  <[email protected]>
+
+	* kern/misc.c (__enable_execute_stack): Add missing return type
+	to prevent gcc warning.
+
 2009-06-11  Felix Zielcke  <[email protected]>
 
 	* conf/i386-ieee1275.rmk (COMMON_LDFLAGS): Remove `-static -lgcc'.

Modified: trunk/grub2/kern/misc.c
===================================================================
--- trunk/grub2/kern/misc.c	2009-06-11 21:28:11 UTC (rev 2312)
+++ trunk/grub2/kern/misc.c	2009-06-11 21:39:03 UTC (rev 2313)
@@ -1106,7 +1106,7 @@
 #ifdef NEED_ENABLE_EXECUTE_STACK
 /* Some gcc versions generate a call to this function
    in trampolines for nested functions.  */
-__enable_execute_stack (void *addr __attribute__ ((unused)))
+void __enable_execute_stack (void *addr __attribute__ ((unused)))
 {
 }
 #endif
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.