diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2018-03-27 15:20:03 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2018-03-27 15:20:03 +0000 |
commit | 34a77b974108eecc559c97b3ef170e3f18ffb644 (patch) | |
tree | af4d51237029eeac6c7bd3bc6f037b8d302626b5 /sys/sys/syscallsubr.h | |
parent | 2cb2ba6df8e31d389fd4bbfa73f0e6227dccb056 (diff) | |
download | src-34a77b974108eecc559c97b3ef170e3f18ffb644.tar.gz src-34a77b974108eecc559c97b3ef170e3f18ffb644.zip |
Move uio enums to sys/_uio.h.
Include _uio.h instead of uio.h in several headers to reduce header
polution.
Fix a few places that relied on header polution to get the uio.h header.
I have not moved struct uio as many more things that use it rely on
header polution to get other definitions from uio.h.
Reviewed by: cem, kib, markj
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D14811
Notes
Notes:
svn path=/head/; revision=331621
Diffstat (limited to 'sys/sys/syscallsubr.h')
-rw-r--r-- | sys/sys/syscallsubr.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/sys/syscallsubr.h b/sys/sys/syscallsubr.h index d03595286694..33e16c1f7f0c 100644 --- a/sys/sys/syscallsubr.h +++ b/sys/sys/syscallsubr.h @@ -31,13 +31,14 @@ #define _SYS_SYSCALLSUBR_H_ #include <sys/signal.h> -#include <sys/uio.h> #include <sys/socket.h> #include <sys/mac.h> #include <sys/mount.h> #include <sys/_cpuset.h> #include <sys/_domainset.h> +#include <sys/_uio.h> +struct __wrusage; struct file; struct filecaps; enum idtype; @@ -55,12 +56,12 @@ struct pollfd; struct ogetdirentries_args; struct rlimit; struct rusage; +struct sched_param; union semun; struct sockaddr; struct stat; struct thr_param; -struct sched_param; -struct __wrusage; +struct uio; int kern___getcwd(struct thread *td, char *buf, enum uio_seg bufseg, size_t buflen, size_t path_max); |