]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
sandbox: mark os_exit as noreturn
authorMike Frysinger <vapier@gentoo.org>
Sun, 26 Feb 2012 22:46:30 +0000 (17:46 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 12 Mar 2012 15:06:48 +0000 (11:06 -0400)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
include/os.h

index 45729c1e44f67f5176dbc161dc2fca12feaa10f9..699682a4089beed0869c88fbf5974243aa647221 100644 (file)
@@ -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