OSDN Git Service

Mark _exit as noreturn, include/unistd.h does this already
authorPeter S. Mazinger <ps.m@gmx.net>
Wed, 2 Nov 2005 21:48:56 +0000 (21:48 -0000)
committerPeter S. Mazinger <ps.m@gmx.net>
Wed, 2 Nov 2005 21:48:56 +0000 (21:48 -0000)
libc/sysdeps/linux/common/_exit.c

index cd03989..3b7d14d 100644 (file)
@@ -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)