newlib-cygwin/newlib/libc/machine/xscale
Eric Blake ada456dcfe headers: properly decorate attributes
Found by:
find -name '*.h' |xargs grep -i 'attribute.*(([a-z]'

For an example of the type of bugs this causes, try compiling this valid
C11 program (it's valid because 'noreturn' is reserved for use in the
user namespace unless you include <stdnoreturn.h>):

$ cat foo.c
#define noreturn __attribute__((noreturn))
#include <stdlib.h>
$ gcc -c -o foo.o -Wall foo.c
In file included from /usr/include/stdlib.h:11:0,
                 from foo.c:2:
foo.c:1:18: error: expected ')' before '__attribute__'
 #define noreturn __attribute__((noreturn))
                  ^
/usr/include/stdlib.h:66:28: error: expected ',' or ';' before ')' token
 _VOID _EXFUN(abort,(_VOID) _ATTRIBUTE ((noreturn)));
                            ^

* libc/machine/spu/spu_timer_internal.h: Decorate attribute names
with __, for namespace safety.
* libc/machine/xscale/machine/profile.h: Likewise.
* libc/include/stdlib.h: Likewise.
* libc/include/_ansi.h: Likewise.
* libc/include/sys/unistd.h: Likewise.
* libc/sys/linux/linuxthreads/libc-symbols.h: Likewise.
* libc/sys/linux/linuxthreads/internals.h: Likewise.
* libc/sys/linux/machine/i386/weakalias.h: Likewise.
* libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
* libc/sys/linux/machine/i386/dl-machine.h: Likewise.
* libc/sys/linux/libc-symbols.h: Likewise.
* libc/sys/linux/iconv/gconv_charset.h: Likewise.
* libc/sys/linux/include/resolv.h: Likewise.
* libc/sys/linux/sys/unistd.h: Likewise.
* libc/sys/linux/dl/atomicity.h: Likewise.
* libc/sys/linux/dl/dynamic-link.h: Likewise.
* libc/sys/linux/dl/ldsodefs.h: Likewise.
2014-08-01 15:44:51 +00:00
..
machine headers: properly decorate attributes 2014-08-01 15:44:51 +00:00
Makefile.am * ltmain.sh: Update from GCC. 2007-05-24 17:33:42 +00:00
Makefile.in 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
aclocal.m4 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
configure 2013-12-23 Jeff Johnston <jjohnstn@redhat.com> 2013-12-23 20:45:10 +00:00
configure.in 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org> 2006-04-13 19:56:32 +00:00
memchr.c 2002-04-19 Bill Siegmund 2002-04-20 00:29:51 +00:00
memcmp.c * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace 2003-09-05 00:45:54 +00:00
memcpy.c * libc/sys/linux/include/netdb.h, libc/sys/linux/net/getaddrinfo.c, 2013-07-23 07:05:31 +00:00
memmove.c 2002-04-19 Bill Siegmund 2002-04-20 00:29:51 +00:00
memset.c 2002-04-19 Bill Siegmund 2002-04-20 00:29:51 +00:00
setjmp.S * libc/machine/xscale/setjmp.S: New file, copied from 2004-09-21 18:41:02 +00:00
strchr.c 2002-04-19 Bill Siegmund 2002-04-20 00:29:51 +00:00
strcmp.c 2002-04-19 Bill Siegmund 2002-04-20 00:29:51 +00:00
strcpy.c 2002-04-19 Bill Siegmund 2002-04-20 00:29:51 +00:00
strlen.c 2002-04-19 Bill Siegmund 2002-04-20 00:29:51 +00:00
xscale.h