remove a couple hundred sys/param.h includes in userland code, and
authorderaadt <deraadt@openbsd.org>
Mon, 13 Dec 2021 16:56:48 +0000 (16:56 +0000)
committerderaadt <deraadt@openbsd.org>
Mon, 13 Dec 2021 16:56:48 +0000 (16:56 +0000)
commit49a6e16f2c2c8e509184b1f777366d1a6f337e1c
treebda361667c8af17a96677b8d5162df07efb85951
parent5e1064a7ac2307dfd7966bb368ab963962429358
remove a couple hundred sys/param.h includes in userland code, and
also whack some sys/cdefs.h early includes which is such a brutally
bad pattern
ok bluhm mbuhl
126 files changed:
regress/lib/libc/basename/basename_test.c
regress/lib/libc/db/dbtest.c
regress/lib/libc/dirname/dirname_test.c
regress/lib/libc/mkstemp/mkstemp_test.c
regress/lib/libc/popen/popen.c
regress/lib/libc/sys/macros.h
regress/lib/libc/sys/t_access.c
regress/lib/libc/sys/t_chroot.c
regress/lib/libc/sys/t_clock_gettime.c
regress/lib/libc/sys/t_dup.c
regress/lib/libc/sys/t_fork.c
regress/lib/libc/sys/t_fsync.c
regress/lib/libc/sys/t_getgroups.c
regress/lib/libc/sys/t_getitimer.c
regress/lib/libc/sys/t_getlogin.c
regress/lib/libc/sys/t_getpid.c
regress/lib/libc/sys/t_getrusage.c
regress/lib/libc/sys/t_getsid.c
regress/lib/libc/sys/t_gettimeofday.c
regress/lib/libc/sys/t_kevent.c
regress/lib/libc/sys/t_kill.c
regress/lib/libc/sys/t_link.c
regress/lib/libc/sys/t_minherit.c
regress/lib/libc/sys/t_mkdir.c
regress/lib/libc/sys/t_mkfifo.c
regress/lib/libc/sys/t_mknod.c
regress/lib/libc/sys/t_mlock.c
regress/lib/libc/sys/t_mmap.c
regress/lib/libc/sys/t_msgctl.c
regress/lib/libc/sys/t_msgget.c
regress/lib/libc/sys/t_msgrcv.c
regress/lib/libc/sys/t_msgsnd.c
regress/lib/libc/sys/t_msync.c
regress/lib/libc/sys/t_pipe.c
regress/lib/libc/sys/t_pipe2.c
regress/lib/libc/sys/t_ptrace.c
regress/lib/libc/sys/t_revoke.c
regress/lib/libc/sys/t_sendrecv.c
regress/lib/libc/sys/t_setrlimit.c
regress/lib/libc/sys/t_setuid.c
regress/lib/libc/sys/t_sigaction.c
regress/lib/libc/sys/t_sigaltstack.c
regress/lib/libc/sys/t_socketpair.c
regress/lib/libc/sys/t_stat.c
regress/lib/libc/sys/t_syscall.c
regress/lib/libc/sys/t_truncate.c
regress/lib/libc/sys/t_umask.c
regress/lib/libc/sys/t_unlink.c
regress/lib/libc/sys/t_wait_noproc.c
regress/lib/libc/sys/t_write.c
regress/lib/libm/msun/cexp_test.c
regress/lib/libm/msun/csqrt_test.c
regress/lib/libm/msun/ctrig_test.c
regress/lib/libm/msun/fma_test.c
regress/lib/libm/msun/invctrig_test.c
regress/lib/libm/msun/logarithm_test.c
regress/lib/libm/msun/macros.h
regress/lib/libm/msun/nan_test.c
regress/lib/libm/msun/nearbyint_test.c
regress/lib/libm/msun/trig_test.c
regress/lib/libpthread/cwd/cwd.c
regress/sbin/iked/parser/test_parser_fuzz.c
regress/sbin/isakmpd/crypto/cryptotest.c
regress/sbin/isakmpd/hmac/hmactest.c
regress/sbin/isakmpd/prf/prftest.c
regress/sbin/isakmpd/x509/x509test.c
regress/sys/arch/amd64/dump_tables/dump_tables.c
regress/sys/arch/amd64/fpu/fdfl.c
regress/sys/arch/amd64/fpu/fdump.c
regress/sys/arch/amd64/fpu/feget.c
regress/sys/arch/amd64/fpu/fxproc0.c
regress/sys/arch/hppa/probe/probe.c
regress/sys/arch/hppa/sfuid/sfuid.c
regress/sys/copy/copy.c
regress/sys/crypto/aes/aestest.c
regress/sys/crypto/aesctr/aesctr.c
regress/sys/crypto/chachapoly/chachapoly_test.c
regress/sys/crypto/cmac/cmac_test.c
regress/sys/crypto/enc/des3.c
regress/sys/crypto/gmac/gmac_test.c
regress/sys/ffs/fstest.c
regress/sys/fifofs/fifotest.c
regress/sys/kern/accept/accept.c
regress/sys/kern/clock_gettime/monotonicrelapse.c
regress/sys/kern/kqueue/kqueue-random.c
regress/sys/kern/mbuf/mbuftest.c
regress/sys/kern/noexec/noexec.c
regress/sys/kern/pledge/ioctl/unfdpass.c
regress/sys/kern/ptrace2/macros.h
regress/sys/kern/ptrace2/ptrace_test.c
regress/sys/kern/rcvtimeo/rcvtimeo.c
regress/sys/kern/setuid/setegid.c
regress/sys/kern/setuid/seteuid.c
regress/sys/kern/setuid/setgid.c
regress/sys/kern/setuid/setgid_child.c
regress/sys/kern/setuid/setgid_exec_inherit.c
regress/sys/kern/setuid/setgid_none.c
regress/sys/kern/setuid/setresgid.c
regress/sys/kern/setuid/setresgid_effective_exec.c
regress/sys/kern/setuid/setresgid_real_exec.c
regress/sys/kern/setuid/setresgid_saved_exec.c
regress/sys/kern/setuid/setresuid.c
regress/sys/kern/setuid/setresuid_effective_exec.c
regress/sys/kern/setuid/setresuid_real_exec.c
regress/sys/kern/setuid/setresuid_saved_exec.c
regress/sys/kern/setuid/setuid.c
regress/sys/kern/setuid/setuid_child.c
regress/sys/kern/setuid/setuid_exec_inherit.c
regress/sys/kern/setuid/setuid_none.c
regress/sys/kern/setuid/setuid_real_exec.c
regress/sys/kern/setuid/sgidexec.c
regress/sys/kern/setuid/sgidexec_inherit.c
regress/sys/kern/setuid/sgidexec_none.c
regress/sys/kern/setuid/suidexec.c
regress/sys/kern/setuid/suidexec_inherit.c
regress/sys/kern/setuid/suidexec_none.c
regress/sys/kern/signal/cansig/cansig.c
regress/sys/kern/sysvmsg/msgtest.c
regress/sys/kern/sysvsem/semtest.c
regress/sys/kern/sysvshm/shmtest.c
regress/sys/kern/unfdpass/unfdpass.c
regress/sys/kern/unveil/syscalls.c
regress/sys/nfs/mmap-sysctl-copyin.c
regress/sys/nfs/mmap-sysctl-copyout.c
regress/sys/uvm/mmap_hint/mmap_hint.c
regress/sys/uvm/wx_syscall/wx_syscall.c