summaryrefslogtreecommitdiffstats
path: root/common/startup.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-01-20 13:36:20 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-01-20 16:33:03 +0100
commit0bbb021b48b62a4e1e4c28bb54d494745034725a (patch)
tree0c3501e3c5abef21c10f64f0fc022ccc715a549c /common/startup.c
parent7ed52f887036fb0f4c1c4ccb38b72fd766082410 (diff)
downloadbarebox-0bbb021b48b62a4e1e4c28bb54d494745034725a.tar.gz
startup: add __noreturn to start_barebox
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/startup.c')
-rw-r--r--common/startup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/startup.c b/common/startup.c
index c26bc5f..ecb5691 100644
--- a/common/startup.c
+++ b/common/startup.c
@@ -90,7 +90,7 @@ fs_initcall(mount_root);
int (*barebox_main)(void);
-void start_barebox (void)
+void __noreturn start_barebox(void)
{
initcall_t *initcall;
int result;
@@ -162,4 +162,3 @@ void shutdown_barebox(void)
arch_shutdown();
#endif
}
-