diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-02 21:48:56 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-11-02 21:48:56 +0000 |
commit | e21214c4258a3a20ce026ac0369270c398dbb71e (patch) | |
tree | 4c0abb519f892253a65e92d908a6816cdf4156ab /libc/sysdeps/linux/common/_exit.c | |
parent | d85c61c5e7aaa735b2a0197485123e8d8e20c088 (diff) |
Mark _exit as noreturn, include/unistd.h does this already
Diffstat (limited to 'libc/sysdeps/linux/common/_exit.c')
-rw-r--r-- | libc/sysdeps/linux/common/_exit.c | 2 |
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) |