diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2010-01-01 03:04:19 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2010-01-01 13:05:23 -0500 |
commit | dad41d9f217cef9dc6c404d409f6c27b0454b73f (patch) | |
tree | 8fb10e70525b8c92f8b32f11399012a170ef365b /src/util.h | |
parent | c003148bb390f928acdc76ad77d787aa0e476013 (diff) | |
download | seabios-hppa-dad41d9f217cef9dc6c404d409f6c27b0454b73f.zip seabios-hppa-dad41d9f217cef9dc6c404d409f6c27b0454b73f.tar.gz seabios-hppa-dad41d9f217cef9dc6c404d409f6c27b0454b73f.tar.bz2 |
Add __noreturn define for __attribute__((noreturn)).
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -200,8 +200,7 @@ void check_preempt(); // output.c void debug_serial_setup(); void panic(const char *fmt, ...) - __attribute__ ((format (printf, 1, 2))) - __attribute__ ((noreturn)); + __attribute__ ((format (printf, 1, 2))) __noreturn; void printf(const char *fmt, ...) __attribute__ ((format (printf, 1, 2))); void __dprintf(const char *fmt, ...) @@ -360,7 +359,7 @@ static inline void free(void *data) { void mtrr_setup(void); // romlayout.S -void reset_vector() __attribute__ ((noreturn)); +void reset_vector() __noreturn; // misc.c extern u8 BiosChecksum; |