From e723f79cb7d35b56bc8b5bcb16a5818ec3e20ef0 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Tue, 30 Mar 2010 10:18:29 +0200 Subject: make panic and hang __noreturn functions Signed-off-by: Sascha Hauer --- include/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/common.h b/include/common.h index 3b3d2de8d4..fb1400c63b 100644 --- a/include/common.h +++ b/include/common.h @@ -65,8 +65,8 @@ typedef void (interrupt_handler_t)(void *); */ void reginfo(void); -void hang (void) __attribute__ ((noreturn)); -void panic(const char *fmt, ...); +void __noreturn hang (void); +void __noreturn panic(const char *fmt, ...); /* */ long int initdram (int); -- cgit v1.2.3