diff options
Diffstat (limited to 'src/include/halt.h')
-rw-r--r-- | src/include/halt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/halt.h b/src/include/halt.h index 7ecd41a6cd..e8f1b51976 100644 --- a/src/include/halt.h +++ b/src/include/halt.h @@ -20,10 +20,11 @@ #ifdef __ROMCC__ #include <lib/halt.c> #else +#include <compiler.h> /** * halt the system reliably */ -void __attribute__((noreturn)) halt(void); +void __noreturn halt(void); #endif /* __ROMCC__ */ /* Power off the system. */ |