ソースを参照

sandbox: mark os_exit as noreturn

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger 13 年 前
コミット
9d72e67b79
1 ファイル変更1 行追加1 行削除
  1. 1 1
      include/os.h

+ 1 - 1
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