mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-14 17:11:06 +00:00
acd7f096d7
This patch completes the headers cleanup consequent on removal of _BSD_SOURCE and _SVID_SOURCE (apart from any subsequent deprecations): * #endif conditionals that referred to BSD or SVID are updated. * Redundant __USE_* tests in cases involving __USE_MISC are removed. This includes cases such as __USE_MISC || __USE_ISOC99, where __USE_MISC is redundant (because __USE_MISC is only ever defined in the default / _DEFAULT_SOURCE / _GNU_SOURCE case, when __USE_ISOC99 is also defined; the same applies to the non-XSI-extended POSIX versions), and cases involving __USE_GNU, where __USE_GNU is redundant (because if __USE_GNU is defined, so are the other __USE_* macros). There may well be other cases of __USE_FOO || __USE_BAR tests that could be simplified because one macro implies the other; this patch only addresses cases involving __USE_MISC. Tested x86_64. * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals. * bits/sigaction.h [__USE_MISC]: Likewise. * bits/waitstatus.h: Update #endif comments. * ctype/ctype.h: Likewise. * dirent/dirent.h: Likewise. [__USE_MISC]: Remove redundant conditionals. * grp/grp.h: Update #endif comments. [__USE_GNU]: Remove redundant conditionals. [__USE_MISC]: Likewise. * inet/netinet/in.h [__USE_GNU]: Likewise. * io/sys/stat.h [__USE_MISC]: Likewise. * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise. * libio/bits/stdio.h: Update #endif comments. [__USE_MISC]: Remove redundant conditionals. * libio/bits/stdio2.h [__USE_MISC]: Likewise. * libio/stdio.h: Update #endif comments. [__USE_MISC]: Remove redundant conditionals. * math/bits/math-finite.h [__USE_MISC]: Likewise. * math/bits/mathcalls.h [__USE_MISC]: Likewise. * math/math.h: Update #else and #endif comments. [__USE_MISC]: Remove redundant conditionals. * misc/sys/uio.h: Update #endif comments. * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals. * posix/glob.h [__USE_MISC]: Likewise. * posix/sys/types.h: Update #endif comments. [__USE_MISC]: Remove redundant conditionals. * posix/sys/wait.h: Update #endif comments. [__USE_MISC]: Remove redundant conditionals. * posix/unistd.h: Update #endif comments. [__USE_MISC]: Remove redundant conditionals. * pwd/pwd.h [__USE_GNU]: Likewise. [__USE_MISC]: Likewise. * resolv/netdb.h [__USE_GNU]: Likewise. * signal/signal.h: Update #endif comments. [__USE_MISC]: Remove redundant conditionals. * stdlib/stdlib.h: Update #else and #endif comments. [__USE_MISC]: Remove redundant conditionals. [__USE_GNU]: Likewise. * string/bits/string2.h [__USE_MISC]: Likewise. * string/string.h: Update #endif comments. [__USE_MISC]: Remove redundant conditionals. * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]: Likewise. * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise. * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]: Likewise. * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif comments. [__USE_MISC]: Remove redundant conditionals. * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise. * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise. * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise. * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]: Likewise. * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise. * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]: Likewise. * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]: Likewise. * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]: Likewise. * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]: Likewise. * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise. * sysdeps/x86/bits/string.h: Update #endif comments. * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant conditionals. * time/sys/time.h: Update #endif comments. * time/time.h: Likewise. [__USE_MISC]: Remove redundant conditionals. |
||
---|---|---|
.. | ||
bits | ||
branred.c | ||
doasin.c | ||
dosincos.c | ||
e_acos.c | ||
e_acosf.c | ||
e_acosl.c | ||
e_asin.c | ||
e_asinf.c | ||
e_asinl.c | ||
e_atan2.c | ||
e_atan2f.c | ||
e_atan2l.c | ||
e_atanh.c | ||
e_atanhf.c | ||
e_atanhl.c | ||
e_cosh.c | ||
e_coshf.c | ||
e_coshl.c | ||
e_exp2.c | ||
e_exp2f.c | ||
e_exp2l.c | ||
e_exp10.c | ||
e_exp10f.c | ||
e_exp10l.c | ||
e_exp.c | ||
e_expf.c | ||
e_expl.c | ||
e_fmod.c | ||
e_fmodf.c | ||
e_fmodl.c | ||
e_ilogb.c | ||
e_ilogbf.c | ||
e_ilogbl.c | ||
e_log2.c | ||
e_log2f.c | ||
e_log2l.c | ||
e_log10.c | ||
e_log10f.c | ||
e_log10l.c | ||
e_log.c | ||
e_logf.c | ||
e_logl.c | ||
e_pow.c | ||
e_powf.c | ||
e_powl.c | ||
e_rem_pio2.c | ||
e_rem_pio2f.c | ||
e_rem_pio2l.c | ||
e_remainder.c | ||
e_remainderf.c | ||
e_remainderl.c | ||
e_scalb.c | ||
e_scalbf.c | ||
e_scalbl.c | ||
e_sinh.c | ||
e_sinhf.c | ||
e_sinhl.c | ||
e_sqrt.c | ||
e_sqrtf.c | ||
e_sqrtl.c | ||
fraiseexcpt.c | ||
halfulp.c | ||
k_cosl.c | ||
k_rem_pio2.c | ||
k_rem_pio2f.c | ||
k_rem_pio2l.c | ||
k_sinl.c | ||
k_tanf.c | ||
k_tanl.c | ||
libm-test-ulps | ||
math_private.h | ||
mathimpl.h | ||
mpa.c | ||
mpatan2.c | ||
mpatan.c | ||
mpexp.c | ||
mplog.c | ||
mpsqrt.c | ||
mptan.c | ||
s_atan.c | ||
s_atanf.c | ||
s_atanl.c | ||
s_ccosh.c | ||
s_ccoshf.c | ||
s_ccoshl.c | ||
s_ceil.c | ||
s_ceilf.c | ||
s_ceill.c | ||
s_cexp.c | ||
s_cexpf.c | ||
s_cexpl.c | ||
s_cos.c | ||
s_cosf.c | ||
s_cosl.c | ||
s_csin.c | ||
s_csinf.c | ||
s_csinh.c | ||
s_csinhf.c | ||
s_csinhl.c | ||
s_csinl.c | ||
s_expm1.c | ||
s_expm1f.c | ||
s_expm1l.c | ||
s_fabs.c | ||
s_fabsf.c | ||
s_fabsl.c | ||
s_finite.c | ||
s_finitef.c | ||
s_finitel.c | ||
s_floor.c | ||
s_floorf.c | ||
s_floorl.c | ||
s_fpclassifyl.c | ||
s_frexp.c | ||
s_frexpf.c | ||
s_frexpl.c | ||
s_isinf.c | ||
s_isinff.c | ||
s_isinfl.c | ||
s_isnan.c | ||
s_isnanf.c | ||
s_isnanl.c | ||
s_llrint.c | ||
s_llrintf.c | ||
s_llrintl.c | ||
s_log1p.c | ||
s_log1pf.c | ||
s_log1pl.c | ||
s_logbl.c | ||
s_lrint.c | ||
s_lrintf.c | ||
s_lrintl.c | ||
s_modf.c | ||
s_modff.c | ||
s_modfl.c | ||
s_nearbyint.c | ||
s_nearbyintf.c | ||
s_nearbyintl.c | ||
s_nextafterl.c | ||
s_remquo.c | ||
s_remquof.c | ||
s_remquol.c | ||
s_rint.c | ||
s_rintf.c | ||
s_rintl.c | ||
s_scalbln.c | ||
s_scalblnf.c | ||
s_scalblnl.c | ||
s_scalbn.c | ||
s_scalbnf.c | ||
s_scalbnl.c | ||
s_significand.c | ||
s_significandf.c | ||
s_significandl.c | ||
s_sin.c | ||
s_sincos.c | ||
s_sincosf.c | ||
s_sincosl.c | ||
s_sinf.c | ||
s_sinl.c | ||
s_tan.c | ||
s_tanf.c | ||
s_tanh.c | ||
s_tanhf.c | ||
s_tanhl.c | ||
s_tanl.c | ||
s_trunc.c | ||
s_truncf.c | ||
s_truncl.c | ||
sincos32.c | ||
sincostab.c | ||
slowexp.c | ||
slowpow.c | ||
t_exp.c |