diff options
author | guenther <guenther@openbsd.org> | 2018-04-26 12:42:50 +0000 |
---|---|---|
committer | guenther <guenther@openbsd.org> | 2018-04-26 12:42:50 +0000 |
commit | f414793931f0f39a413874f9e342e33d9fd35eac (patch) | |
tree | 2f4a2abfbaa234b7cf3ecdbab222b87a5d01ccb9 /usr.sbin/edquota | |
parent | Do not try getnetbyname(3) if gethostbyname(3) returns no result. (diff) | |
download | wireguard-openbsd-f414793931f0f39a413874f9e342e33d9fd35eac.tar.xz wireguard-openbsd-f414793931f0f39a413874f9e342e33d9fd35eac.zip |
Use <fcntl.h> instead of <sys/file.h> for open() and friends.
Delete a bunch of unnecessary #includes and sort to match style(9)
while doing the above cleanup.
ok deraadt@ krw@
Diffstat (limited to 'usr.sbin/edquota')
-rw-r--r-- | usr.sbin/edquota/edquota.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/edquota/edquota.c b/usr.sbin/edquota/edquota.c index 42a9d35fc06..b2429231f1d 100644 --- a/usr.sbin/edquota/edquota.c +++ b/usr.sbin/edquota/edquota.c @@ -35,13 +35,13 @@ */ #include <sys/param.h> /* btodb dbtob */ #include <sys/stat.h> -#include <sys/file.h> #include <sys/wait.h> #include <ufs/ufs/quota.h> #include <ctype.h> #include <err.h> #include <errno.h> +#include <fcntl.h> #include <fstab.h> #include <grp.h> #include <paths.h> |