newlib-cygwin/newlib/libc/sys/linux/include
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
..
arpa 2008-05-22 Jeff Johnston <jjohnstn@redhat.com> 2008-05-22 21:30:28 +00:00
net 2008-05-22 Jeff Johnston <jjohnstn@redhat.com> 2008-05-22 21:30:28 +00:00
netinet 2008-05-22 Jeff Johnston <jjohnstn@redhat.com> 2008-05-22 21:30:28 +00:00
netinet6
netns
rpc
argp.h 2007-12-19 Jeff Johnston <jjohnstn@redhat.com> 2007-12-19 22:27:00 +00:00
bp-sym.h
cmathcalls.h
complex.h
dl-hash.h
dlfcn.h 2005-11-17 Jeff Johnston <jjohnstn@redhat.com> 2005-11-17 21:51:21 +00:00
fnmatch.h
gconv.h
getopt.h 2006-01-06 Jeff Johnston <jjohnstn@redhat.com> 2006-01-06 20:59:13 +00:00
glob.h
hesiod.h 2008-05-22 Jeff Johnston <jjohnstn@redhat.com> 2008-05-22 21:30:28 +00:00
iconv.h
ifaddrs.h
limits.h 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:03:42 +00:00
link.h
ltdl.h 2005-09-08 Jeff Johnston <jjohnstn@redhat.com> 2005-09-08 22:45:53 +00:00
malloc.h
mcheck.h
mqueue.h
namespace.h
netconfig.h
netdb.h * libc/sys/linux/include/netdb.h, libc/sys/linux/net/getaddrinfo.c, 2013-07-23 07:05:31 +00:00
paths.h
pthread.h
regex.h
resolv.h headers: properly decorate attributes 2014-08-01 15:44:51 +00:00
rune.h
runetype.h
sched.h 2008-07-02 Jeff Johnston <jjohnstn@redhat.com> 2008-07-02 18:38:45 +00:00
semaphore.h
setjmp.h
setlocale.h
stdint.h 2008-10-02 Jeff Johnston <jjohnstn@redhat.com> 2008-10-02 17:29:11 +00:00
time.h
un-namespace.h
unistd.h 2005-11-03 Shaun Jackman <sjackman@gmail.com> 2005-11-03 16:52:15 +00:00
wordexp.h