2008-07-04 Pavel Roskin <proski@gnu.org>
* kern/i386/linuxbios/init.c (grub_machine_init): Cast addr to grub_addr_t before casting it to the void pointer to fix a warning. Non-addressable regions are discarded earlier. (grub_arch_modules_addr): Cast _end to grub_addr_t. * kern/i386/linuxbios/table.c: Include grub/misc.h. (check_signature): Don't shadow table_header. (grub_linuxbios_table_iterate): Cast numeric constants to grub_linuxbios_table_header_t. * include/grub/i386/linuxbios/init.h: Add noreturn attribute to grub_stop().
This commit is contained in:
parent
af58ab3dbc
commit
bcd35b903d
4 changed files with 21 additions and 7 deletions
|
@ -22,7 +22,7 @@
|
|||
#include <grub/symbol.h>
|
||||
#include <grub/i386/pc/memory.h>
|
||||
|
||||
void EXPORT_FUNC(grub_stop) (void);
|
||||
void EXPORT_FUNC(grub_stop) (void) __attribute__ ((noreturn));
|
||||
void EXPORT_FUNC(grub_stop_floppy) (void);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue