newlib-cygwin/newlib/libc/include/sys
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
..
_default_fcntl.h * libc/include/sys/_default_fcntl.h (LOCK_SH): Define. 2014-01-17 10:57:54 +00:00
_types.h 2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de> 2013-10-15 17:38:32 +00:00
cdefs.h * libc/include/machine/_default_types.h: Move extern "C" after 2013-12-03 16:04:41 +00:00
config.h * libc/include/stdio.h (funopen): Change prototype of 2013-10-23 10:04:43 +00:00
custom_file.h 2007-02-01 Joel Schopp <jschopp@austin.ibm.com> 2007-02-01 16:33:05 +00:00
dir.h * libc/include/sys/dir.h: New BSD-compatibility header. 2010-08-11 18:14:54 +00:00
dirent.h 2005-10-04 James E Wilson <wilson@specifix.com> 2005-10-04 20:47:39 +00:00
errno.h * libc/include/sys/errno.h: Fix comments. 2014-07-14 13:40:17 +00:00
fcntl.h 2007-11-15 Jeff Johnston <jjohnstn@redhat.com> 2007-12-19 18:49:17 +00:00
features.h Port newlib to x86_64-pc-cygwin. 2013-04-23 09:42:25 +00:00
file.h
iconvnls.h 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru> 2004-09-13 17:10:20 +00:00
lock.h 2008-12-11 Craig Howland <howland@LGSInnovations.com> 2008-12-11 17:27:56 +00:00
param.h * libc/include/sys/unistd.h (MAXPATHLEN): Delete. 2013-10-18 08:30:29 +00:00
queue.h * libc/sys/rtems/sys/queue.h: Delete file. 2013-04-16 10:25:16 +00:00
reent.h * libc/include/stdio.h (funopen): Change prototype of 2013-10-23 10:04:43 +00:00
resource.h
sched.h 2010-04-01 Joel Sherrill <joel.sherrill@oarcorp.com> 2010-04-01 18:33:37 +00:00
signal.h * libc/include/sys/signal.h (sigset_t): Don't define when building 2012-10-26 09:23:46 +00:00
stat.h 2014-01-06 Sebastian Huber <sebastian.huber@embedded-brains.de> 2014-01-06 20:59:38 +00:00
stdio.h * libc/include/sys/stdio.h (_flockfile, _funlockfile): Fix typos. 2009-01-08 00:01:33 +00:00
string.h 2005-01-24 Jeff Johnston <jjohnstn@redhat.com> 2005-01-24 18:46:09 +00:00
syslimits.h * libc/include/langinfo.h: New file. 2002-08-23 01:56:05 +00:00
time.h 2014-07-22 Joel Sherrill <joel.sherrill@oarcorp.com> 2014-07-22 19:30:00 +00:00
timeb.h
times.h Throughout, run newlib with -Wall -Werror option and fix bugs and 2012-08-08 11:04:18 +00:00
types.h 2013-11-29 Jennifer Averett <jennifer.averett@oarcorp.com> 2013-11-29 23:14:57 +00:00
unistd.h headers: properly decorate attributes 2014-08-01 15:44:51 +00:00
utime.h
wait.h Throughout, run newlib with -Wall -Werror option and fix bugs and 2012-08-08 11:04:18 +00:00