musl/arch/generic/bits
Rich Felker 7cc79d10af define LONG_MAX via arch alltypes.h, strip down bits/limits.h
LLONG_MAX is uniform for all archs we support and plenty of header and
code level logic assumes it is, so it does not make sense for limits.h
bits mechanism to pretend it's variable.

LONG_BIT can be defined in terms of LONG_MAX; there's no reason to put
it in bits.

by moving LONG_MAX definition to __LONG_MAX in alltypes.h and moving
LLONG_MAX out of bits, there are now no plain-C limits that are
defined in the bits header, so the bits header only needs to be
included in the POSIX or extended profiles. this allows the feature
test macro logic to be removed from the bits header, facilitating a
long-term goal of getting such logic out of bits.

having __LONG_MAX in alltypes.h will allow further generalization of
headers.

archs without a constant PAGESIZE no longer need bits/limits.h at all.
2019-10-17 19:23:39 -04:00
..
errno.h deduplicate the bulk of the arch bits headers 2016-01-27 21:52:14 -05:00
fcntl.h deduplicate the bulk of the arch bits headers 2016-01-27 21:52:14 -05:00
fenv.h deduplicate the bulk of the arch bits headers 2016-01-27 21:52:14 -05:00
hwcap.h add bits/hwcap.h and include it in sys/auxv.h 2016-10-20 01:28:25 -04:00
io.h deduplicate the bulk of the arch bits headers 2016-01-27 21:52:14 -05:00
ioctl.h bits/ioctl.h: add TIOC{G,S}ISO7816 from linux v4.20 2019-03-13 12:33:15 -04:00
ioctl_fix.h fix FIOQSIZE in arm ioctl.h 2016-07-03 14:54:35 -04:00
ipc.h move IPC_64 from public bits/ipc.h to syscall_arch.h 2019-07-30 14:23:56 -04:00
ipcstat.h move IPC_STAT definition to a new bits/ipcstat.h file 2019-08-02 00:08:23 -04:00
kd.h move inclusion of linux headers for kd.h, soundcard.h, vt.h to bits 2018-07-20 01:06:41 -04:00
limits.h define LONG_MAX via arch alltypes.h, strip down bits/limits.h 2019-10-17 19:23:39 -04:00
link.h generalize ELF hash table types not to assume 32-bit entries 2016-11-11 12:46:06 -05:00
mman.h deduplicate bits/mman.h 2016-03-18 22:40:28 -04:00
msg.h use 64-bit msqid_ds layout in the generic version of bits/msg.h 2019-07-29 18:23:27 -04:00
poll.h deduplicate the bulk of the arch bits headers 2016-01-27 21:52:14 -05:00
ptrace.h add support for arch-specific ptrace command macros 2018-07-17 22:25:08 -04:00
resource.h deduplicate the bulk of the arch bits headers 2016-01-27 21:52:14 -05:00
sem.h use 64-bit semid_ds layout in the generic version of bits/sem.h 2019-07-29 18:12:05 -04:00
shm.h remove trailing newlines from various versions of bits/shm.h 2019-07-29 15:54:38 -04:00
socket.h make brace placement in public header struct definitions consistent 2016-07-03 15:02:25 -04:00
soundcard.h move inclusion of linux headers for kd.h, soundcard.h, vt.h to bits 2018-07-20 01:06:41 -04:00
statfs.h deduplicate the bulk of the arch bits headers 2016-01-27 21:52:14 -05:00
termios.h fix minor namespace issues in termios.h 2018-03-10 18:19:41 -05:00
vt.h move inclusion of linux headers for kd.h, soundcard.h, vt.h to bits 2018-07-20 01:06:41 -04:00