svn commit: trunk/uClibc/include

Rob Landley rob at landley.net
Wed Feb 25 19:38:39 UTC 2009


On Wednesday 25 February 2009 12:35:54 Bernhard Reutner-Fischer wrote:
> 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

*shrug*  I just made it consistent with all the other declarations in the 
file.  Is there documentation on this somewhere?

Rob


More information about the uClibc mailing list