summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/os.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/os.h b/include/os.h
index 45729c1..699682a 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