[U-Boot] [PATCH] sandbox: mark os_exit as noreturn

26 Feb
2012
26 Feb
'12
11:46 p.m.
Signed-off-by: Mike Frysinger vapier@gentoo.org --- include/os.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/os.h b/include/os.h index aea4503..35ef9b0 100644 --- a/include/os.h +++ b/include/os.h @@ -95,7 +95,7 @@ int os_close(int fd); * * @param exit_code exit code for U-Boot */ -void os_exit(int exit_code); +void os_exit(int exit_code) __attribute__((noreturn));
/** * Put tty into raw mode to mimic serial console better
--
1.7.8.4
4826
Age (days ago)
4826
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mike Frysinger