summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/_exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/_exit.c')
-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)