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 --- common/startup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/startup.c b/common/startup.c index 6dca2702a9..c7d0cf0df1 100644 --- a/common/startup.c +++ b/common/startup.c @@ -161,7 +161,7 @@ void start_barebox (void) /* NOTREACHED - no way out of command loop except booting */ } -void hang (void) +void __noreturn hang (void) { puts ("### ERROR ### Please RESET the board ###\n"); for (;;); -- cgit v1.2.3