aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdlib/exit.c')
-rw-r--r--lib/libc/stdlib/exit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/stdlib/exit.c b/lib/libc/stdlib/exit.c
index 0d3c72520f46..50c872afe529 100644
--- a/lib/libc/stdlib/exit.c
+++ b/lib/libc/stdlib/exit.c
@@ -57,4 +57,6 @@ exit(status)
if (__cleanup)
(*__cleanup)();
_exit(status);
+ /* We'll never get here; this just surpresses a warning. */
+ while(1) { ; }
}