summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/efi68k/include/efi68k.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/m68k/efi68k/include/efi68k.h')
-rw-r--r--c/src/lib/libbsp/m68k/efi68k/include/efi68k.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/m68k/efi68k/include/efi68k.h b/c/src/lib/libbsp/m68k/efi68k/include/efi68k.h
index becfa95c89..6aa16ce3c0 100644
--- a/c/src/lib/libbsp/m68k/efi68k/include/efi68k.h
+++ b/c/src/lib/libbsp/m68k/efi68k/include/efi68k.h
@@ -16,7 +16,15 @@
/* macro/function definitions */
#if 0
-static void reboot(void) __attribute__ ((noreturn));
+/*
+ * This prototype really should have the noreturn attribute but
+ * that causes a warning since it appears that the routine does
+ * return.
+ *
+ * void dumby_start () __attribute__ ((noreturn));
+ */
+
+static void reboot(void);
__inline__ static void reboot() {asm("trap #15");}
#else
#define reboot() do {asm("trap #15");} while(0)