summaryrefslogtreecommitdiff
path: root/usr.bin/quota
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2018-04-26 12:42:52 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2018-04-26 12:42:52 +0000
commit5f88f64e4ca00c8a8b07625c4a11ed0fde2f230c (patch)
treec1262035d78c25f24c241d2f8eac07fffcfe6e72 /usr.bin/quota
parent883ddd7e209fd33be14c5a0bd94ea39a7e31c4f4 (diff)
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.bin/quota')
-rw-r--r--usr.bin/quota/quota.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/quota/quota.c b/usr.bin/quota/quota.c
index e75b1541c54..b73fe290079 100644
--- a/usr.bin/quota/quota.c
+++ b/usr.bin/quota/quota.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: quota.c,v 1.38 2016/03/16 15:41:11 krw Exp $ */
+/* $OpenBSD: quota.c,v 1.39 2018/04/26 12:42:51 guenther Exp $ */
/*
* Copyright (c) 1980, 1990, 1993
@@ -37,8 +37,6 @@
*/
#include <sys/param.h> /* DEV_BSIZE dbtob */
#include <sys/types.h>
-#include <sys/file.h>
-#include <sys/stat.h>
#include <sys/mount.h>
#include <sys/socket.h>
@@ -46,6 +44,7 @@
#include <ctype.h>
#include <err.h>
#include <errno.h>
+#include <fcntl.h>
#include <fstab.h>
#include <grp.h>
#include <netdb.h>