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:
parent
5225e649b1
commit
af1f4f55f8
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue