]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-06-11 Christian Franke <franke@computer.org>
authorchrfranke <chrfranke@localhost>
Thu, 11 Jun 2009 21:39:03 +0000 (21:39 +0000)
committerchrfranke <chrfranke@localhost>
Thu, 11 Jun 2009 21:39:03 +0000 (21:39 +0000)
* kern/misc.c (__enable_execute_stack): Add missing return type
to prevent gcc warning.

ChangeLog
kern/misc.c

index 9809b4f34eb1b5c12e9d589881d4c50e1092d19b..5863073b7f940c61f049ca731d01e9f63dde06c1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-11  Christian Franke  <franke@computer.org>
+
+       * kern/misc.c (__enable_execute_stack): Add missing return type
+       to prevent gcc warning.
+
 2009-06-11  Felix Zielcke  <fzielcke@z-51.de>
 
        * conf/i386-ieee1275.rmk (COMMON_LDFLAGS): Remove `-static -lgcc'.
index d8eff68837ce8773191adaddee7c590a8ac55b75..d797f17814000863f44722224dac167601f2baf5 100644 (file)
@@ -1106,7 +1106,7 @@ void abort (void) __attribute__ ((alias ("grub_abort")));
 #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