OSDN Git Service

Fix __attribute__ (( __attribute__ ((noreturn)))), which doesn't compile.
authorRob Landley <rob@landley.net>
Tue, 24 Feb 2009 00:27:33 +0000 (00:27 -0000)
committerRob Landley <rob@landley.net>
Tue, 24 Feb 2009 00:27:33 +0000 (00:27 -0000)
include/unistd.h

index 3062163..d59f049 100644 (file)
@@ -771,7 +771,7 @@ libc_hidden_proto(vfork)
 #endif /* Use BSD. */
 
 /* Special exit function which only terminates the current thread.  */
-extern void __exit_thread (int val) __attribute__ ((noreturn));
+extern void __exit_thread (int val) __attribute__ ((__noreturn__));
 
 /* Return the pathname of the terminal FD is open on, or NULL on errors.
    The returned storage is good only until the next call to this function.  */