Преглед на файлове

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