summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2009-02-24 00:27:33 +0000
committerRob Landley <rob@landley.net>2009-02-24 00:27:33 +0000
commit11495b6f6a7bff4fc7effdbf670b5d482c36913d (patch)
tree959be5d58d79612842d3a3727926b95756234e6c
parent3a59769488d10742881129ada22950c9d8cf7233 (diff)
Fix __attribute__ (( __attribute__ ((noreturn)))), which doesn't compile.
-rw-r--r--include/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 30621634a..d59f049e5 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. */