svn commit: trunk/uClibc/include

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Feb 25 18:35:54 UTC 2009


On Tue, Feb 24, 2009 at 12:27:34AM +0000, landley at uclibc.org wrote:
>Author: landley
>Date: 2009-02-24 00:27:33 +0000 (Tue, 24 Feb 2009)
>New Revision: 25432
>
>Log:
>Fix __attribute__ (( __attribute__ ((noreturn)))), which doesn't compile.
>
>
>Modified:
>   trunk/uClibc/include/unistd.h
>
>
>Changeset:
>Modified: trunk/uClibc/include/unistd.h
>===================================================================
>--- trunk/uClibc/include/unistd.h	2009-02-23 17:28:08 UTC (rev 25431)
>+++ trunk/uClibc/include/unistd.h	2009-02-24 00:27:33 UTC (rev 25432)
>@@ -771,7 +771,7 @@
> #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__));

This should rather be 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.  */


More information about the uClibc mailing list