Explorar el Código

sandbox: mark os_exit as noreturn

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger hace 13 años
padre
commit
9d72e67b79
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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