2009-06-11 Christian Franke <franke@computer.org>

* kern/misc.c (__enable_execute_stack): Add missing return type
	to prevent gcc warning.
This commit is contained in:
chrfranke 2009-06-11 21:39:03 +00:00
parent 5225e649b1
commit af1f4f55f8
2 changed files with 6 additions and 1 deletions

View file

@ -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> 2009-06-11 Felix Zielcke <fzielcke@z-51.de>
* conf/i386-ieee1275.rmk (COMMON_LDFLAGS): Remove `-static -lgcc'. * conf/i386-ieee1275.rmk (COMMON_LDFLAGS): Remove `-static -lgcc'.

View file

@ -1106,7 +1106,7 @@ void abort (void) __attribute__ ((alias ("grub_abort")));
#ifdef NEED_ENABLE_EXECUTE_STACK #ifdef NEED_ENABLE_EXECUTE_STACK
/* Some gcc versions generate a call to this function /* Some gcc versions generate a call to this function
in trampolines for nested functions. */ in trampolines for nested functions. */
__enable_execute_stack (void *addr __attribute__ ((unused))) void __enable_execute_stack (void *addr __attribute__ ((unused)))
{ {
} }
#endif #endif