diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/m68k/efi332/include/efi332.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/m68k/efi332/include/efi332.h b/c/src/lib/libbsp/m68k/efi332/include/efi332.h index f9a5584c1b..b19b225109 100644 --- a/c/src/lib/libbsp/m68k/efi332/include/efi332.h +++ b/c/src/lib/libbsp/m68k/efi332/include/efi332.h @@ -43,12 +43,10 @@ /* * This prototype really should have the noreturn attribute but - * that causes a warning since it appears that the routine does - * return. - * - * void reboot(void) __attribute__ ((noreturn)); + * that causes a warning. Not sure how to fix that. */ - -void reboot(void); +/* static void reboot(void) __attribute__ ((noreturn)); */ +static void reboot(void); +__inline__ static void reboot() {asm("trap #15");} #endif /* _EFI332_H_ */ |