summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdlib/on_exit.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2014-08-01 15:48:37 +0000
committerEric Blake <eblake@redhat.com>2014-08-01 15:48:37 +0000
commit9067d19b9aaf673283ee6530b1c4c2909f88c5e8 (patch)
tree3c49f856984976813892031ab33a941a22c30e5c /newlib/libc/stdlib/on_exit.c
parentada456dcfed23e2f3f1d92574993aef15e134418 (diff)
downloadcygnal-9067d19b9aaf673283ee6530b1c4c2909f88c5e8.tar.gz
cygnal-9067d19b9aaf673283ee6530b1c4c2909f88c5e8.tar.bz2
cygnal-9067d19b9aaf673283ee6530b1c4c2909f88c5e8.zip
headers: properly decorate attributes
As pointed out here: https://cygwin.com/ml/cygwin/2014-07/msg00371.html any use of __attribute__ in a header that can be included by a user should be namespace-safe, by decorating the attribute arguments with __ (while gcc does a lousy job at documenting it, ALL attributes have a __ counterpart, precisely so that public headers can use attributes without risk of collision with macros belonging to user namespace). * include/pthread.h: Decorate attribute names with __, for namespace safety. * include/cygwin/core_dump.h: Likewise. * include/cygwin/cygwin_dll.h: Likewise. * include/sys/cygwin.h: Likewise. * include/sys/strace.h: Likewise.
Diffstat (limited to 'newlib/libc/stdlib/on_exit.c')
0 files changed, 0 insertions, 0 deletions