[git commit nptl] Fix __attribute__ (( __attribute__ ((noreturn)))), which doesn't compile.

Rob Landley rob at landley.net
Fri Sep 18 21:07:26 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=9c98c1a161ea32230f21975cdb4b4b2c72d08763
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl

Signed-off-by: Rob Landley <rob at landley.net>
Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
 include/unistd.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/unistd.h b/include/unistd.h
index 961f4fd..5d3a4cb 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -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.  */
-- 
1.6.3.3



More information about the uClibc-cvs mailing list