newlib-cygwin/newlib/libc/sys/linux/dl
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
..
Makefile.am 2006-04-11 Jeff Johnston <jjohnstn@redhat.com> 2006-04-11 19:02:16 +00:00
Makefile.in 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
abi-tag.h
atomicity.h headers: properly decorate attributes 2014-08-01 15:44:51 +00:00
dl-addr.c
dl-cache.c 2005-09-08 Jeff Johnston <jjohnstn@redhat.com> 2005-09-08 22:45:53 +00:00
dl-cache.h
dl-close.c
dl-debug.c
dl-deps.c
dl-dst.h
dl-error.c
dl-fini.c
dl-init.c
dl-iteratephdr.c
dl-libc.c
dl-librecon.h
dl-load.c 2005-09-08 Jeff Johnston <jjohnstn@redhat.com> 2005-09-08 22:45:53 +00:00
dl-local.h 2005-11-17 Jeff Johnston <jjohnstn@redhat.com> 2005-11-17 21:51:21 +00:00
dl-lookup.c
dl-lookupcfg.h
dl-minimal.c
dl-misc.c
dl-object.c
dl-open.c 2005-09-08 Jeff Johnston <jjohnstn@redhat.com> 2005-09-08 22:45:53 +00:00
dl-osinfo.h
dl-profile.c
dl-profstub.c
dl-reloc.c 2005-09-08 Jeff Johnston <jjohnstn@redhat.com> 2005-09-08 22:45:53 +00:00
dl-runtime.c 2005-09-08 Jeff Johnston <jjohnstn@redhat.com> 2005-09-08 22:45:53 +00:00
dl-support.c
dl-sym.c
dl-version.c
do-lookup.h * libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with the STT_COMMON type. 2007-10-09 16:01:43 +00:00
do-rel.h 2005-09-08 Jeff Johnston <jjohnstn@redhat.com> 2005-09-08 22:45:53 +00:00
dynamic-link.h headers: properly decorate attributes 2014-08-01 15:44:51 +00:00
kernel-features.h
ldsodefs.h headers: properly decorate attributes 2014-08-01 15:44:51 +00:00
libintl.h
trusted-dirs.h
unsecvars.h