diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2010-03-30 10:18:29 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-03-30 14:15:03 +0200 |
commit | e723f79cb7d35b56bc8b5bcb16a5818ec3e20ef0 (patch) | |
tree | ec1902c9bb12d60d6b8fda0fe896458fb5154278 /common/startup.c | |
parent | e11c07c33994383052f041dd5551b80bee4fb6f3 (diff) | |
download | barebox-e723f79cb7d35b56bc8b5bcb16a5818ec3e20ef0.tar.gz |
make panic and hang __noreturn functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/startup.c')
-rw-r--r-- | common/startup.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 (;;); |