summaryrefslogtreecommitdiff
path: root/nptl/tst-mutex5.c
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2019-03-09 21:18:56 -0500
committerZack Weinberg <zackw@panix.com>2019-03-09 21:18:56 -0500
commit5bef1aa7abc2340c0edcb9d1553ae46c57ca2420 (patch)
tree388c1b89295032fd700509479f488c00269f5e8c /nptl/tst-mutex5.c
parent697ed96c8e1d774f0f962c959c9988b1097a69f5 (diff)
downloadglibc-5bef1aa7abc2340c0edcb9d1553ae46c57ca2420.tar.gz
Don’t conditionalize declarations of ldiv_t, lldiv_t, __gwchar_t.
The declarations of ldiv_t, lldiv_t, and __gwchar_t are all wrapped in __foo_t_defined conditionals, despite there being only one header in glibc that declares them. I checked codesearch.debian.net and only found one other program that refers to the __foo_t_defined conditionals: u-boot provides its own definition of ldiv_t if __ldiv_t_defined is not defined by stdlib.h. I conclude that the conditionals are not necessary, but the definitions of __ldiv_t_defined and __lldiv_t_defined should be preserved. * stdlib/inttypes.h: Unconditionally define __gwchar_t. Don’t define ____gwchar_t_defined. * stdlib/stdlib.h: Unconditionally define ldiv_t. Condition lldiv_t only on __USE_ISOC99.
Diffstat (limited to 'nptl/tst-mutex5.c')
0 files changed, 0 insertions, 0 deletions