提交 5cc18721 编写于 作者: R Rich Felker

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.
上级 72ed3d47
......@@ -31,5 +31,4 @@ _Noreturn void exit(int code)
__stdio_exit();
_Exit(code);
for(;;);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册