musl/include
Rich Felker 919ad8d5fb explicitly use signed keyword to define intNN_t and derivative types
standing alone, both the signed and int keywords identify the same
type, a (signed) int. however the C language has an exception where,
when the lone keyword int is used to declare a bitfield, it's
implementation-defined whether the bitfield is signed or unsigned. C11
footnote 125 extends this implementation-definedness to typedefs, and
DR#315 extends it to other integer types (for which support with
bitfields is implementation-defined).

while reasonable ABIs (all the ones we support) define bitfields as
signed by default, GCC and compatible compilers offer an option
-funsigned-bitfields to change the default. while any signed types
defined without explicit use of the signed keyword are affected, the
stdint.h types, especially intNN_t, have a natural use in bitfields.
ensure that bitfields defined with these types always have the correct
signedness regardless of compiler & flags used.

see also GCC PR 83294.
2018-03-12 20:04:59 -04:00
..
arpa fix endian errors in arpa/nameser.h due to failure to include endian.h 2017-12-14 23:36:47 -05:00
net net/if_arp.h: add ARPHRD_RAWIP from linux v4.14 2018-02-22 18:47:49 -05:00
netinet netinet/in.h: add new IPV6_FREEBIND from linux v4.15 2018-02-22 18:49:07 -05:00
netpacket update netpacket/packet.h to linux v4.3 2016-01-26 18:29:32 -05:00
scsi
sys add getrandom syscall wrapper 2018-02-22 19:34:58 -05:00
aio.h
alloca.h
alltypes.h.in explicitly use signed keyword to define intNN_t and derivative types 2018-03-12 20:04:59 -04:00
ar.h
assert.h restore _Noreturn to __assert_fail 2016-08-30 16:39:54 -04:00
byteswap.h
complex.h
cpio.h
crypt.h
ctype.h
dirent.h add _DIRENT_HAVE_D_* macros to dirent.h 2018-01-12 14:26:59 -05:00
dlfcn.h
elf.h elf.h: add DT_SYMTAB_SHNDX 2018-02-22 18:51:16 -05:00
endian.h
err.h
errno.h
fcntl.h add new fcntl.h macros from linux v4.13 2017-11-05 18:41:24 -05:00
features.h in public headers, don't assume pre-C99 compilers have __inline keyword 2016-12-16 23:12:32 -05:00
fenv.h
float.h
fmtmsg.h
fnmatch.h
ftw.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -04:00
getopt.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -04:00
glob.h
grp.h fix various header namespace issues under feature-test-macro control 2016-10-20 17:20:01 -04:00
iconv.h
ifaddrs.h remove parameter names from public headers 2016-10-20 17:04:37 -04:00
inttypes.h
iso646.h
langinfo.h add _NL_LOCALE_NAME extension to nl_langinfo 2017-07-31 23:08:27 -04:00
lastlog.h
libgen.h
libintl.h
limits.h fix minor namespace issues in limits.h 2018-03-10 18:18:16 -05:00
link.h generalize ELF hash table types not to assume 32-bit entries 2016-11-11 12:46:06 -05:00
locale.h
malloc.h
math.h
memory.h
mntent.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -04:00
monetary.h
mqueue.h
netdb.h move IPPORT_RESERVED from netdb.h to netinet/in.h 2017-08-29 20:50:48 -04:00
nl_types.h
paths.h
poll.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -04:00
pthread.h add limited pthread_setattr_default_np API to set stack size defaults 2016-11-08 12:45:03 -05:00
pty.h
pwd.h fix various header namespace issues under feature-test-macro control 2016-10-20 17:20:01 -04:00
regex.h
resolv.h don't claim support for resolv.h APIs that aren't supported 2016-11-07 11:55:53 -05:00
sched.h fix use of memset without declaration in sched.h cpu set macros 2017-09-28 12:57:06 -04:00
search.h
semaphore.h
setjmp.h
shadow.h
signal.h remove spurious const keyword in sigqueue declaration 2018-03-10 18:19:41 -05:00
spawn.h add no-op POSIX_SPAWN_USEVFORK to spawn.h 2017-04-22 20:40:09 -04:00
stdalign.h
stdarg.h remove legacy i386 fallback stdarg implementation and framework 2016-12-15 12:18:24 -05:00
stdbool.h
stdc-predef.h add stdc-predef.h for library-level predefined macros 2016-07-03 20:03:30 -04:00
stddef.h
stdint.h
stdio.h fix aliasing violations in fgetpos/fsetpos 2018-02-24 16:45:33 -05:00
stdio_ext.h
stdlib.h remove parameter names from public headers 2016-10-20 17:04:37 -04:00
stdnoreturn.h
string.h remove useless declarations in string.h 2017-07-04 17:04:21 -04:00
strings.h
stropts.h
syscall.h
sysexits.h
syslog.h
tar.h fix minor namespace issue in tar.h 2018-03-10 18:19:40 -05:00
termios.h
tgmath.h
threads.h remove parameter names from public headers 2016-10-20 17:04:37 -04:00
time.h fix various header namespace issues under feature-test-macro control 2016-10-20 17:20:01 -04:00
uchar.h
ucontext.h
ulimit.h
unistd.h fix minor namespace issue in unistd.h 2018-03-10 18:19:40 -05:00
utime.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -04:00
utmp.h add declarations for utmpname/utmpxname to appropriate headers 2016-02-12 09:58:50 -05:00
utmpx.h fix typo in utmpx.h 2016-10-20 16:55:32 -04:00
values.h
wait.h
wchar.h remove parameter names from public headers 2016-10-20 17:04:37 -04:00
wctype.h
wordexp.h make brace placement in public header typedef'd structs consistent 2016-07-03 16:19:28 -04:00