|author||Rich Felker <firstname.lastname@example.org>||2014-07-17 21:37:10 -0400|
|committer||Rich Felker <email@example.com>||2014-07-17 21:37:10 -0400|
remove useless infinite loop from end of exit function
this was originally added as a cheap but portable way to quell warnings about reaching the end of a function that does not return, but since _Exit is marked _Noreturn, it's not needed. removing it makes the call to _Exit into a tail call and shaves off a few bytes of code from minimal static programs.
1 files changed, 0 insertions, 1 deletions
diff --git a/src/exit/exit.c b/src/exit/exit.c
index 27fb3e29..163d8f1b 100644
@@ -31,5 +31,4 @@ _Noreturn void exit(int code)