summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-02 21:48:56 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-02 21:48:56 +0000
commite21214c4258a3a20ce026ac0369270c398dbb71e (patch)
tree4c0abb519f892253a65e92d908a6816cdf4156ab
parentd85c61c5e7aaa735b2a0197485123e8d8e20c088 (diff)
Mark _exit as noreturn, include/unistd.h does this already
-rw-r--r--libc/sysdeps/linux/common/_exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/_exit.c b/libc/sysdeps/linux/common/_exit.c
index cd03989af..3b7d14d62 100644
--- a/libc/sysdeps/linux/common/_exit.c
+++ b/libc/sysdeps/linux/common/_exit.c
@@ -32,7 +32,7 @@
static inline _syscall1(void, __syscall_exit, int, status);
#endif
-void _exit(int status)
+void __attribute__ ((noreturn)) _exit(int status)
{
/* The loop is added only to keep gcc happy. */
while(1)