summaryrefslogtreecommitdiffstats
path: root/usr.sbin/makefs
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2018-04-26 12:42:50 +0000
committerguenther <guenther@openbsd.org>2018-04-26 12:42:50 +0000
commitf414793931f0f39a413874f9e342e33d9fd35eac (patch)
tree2f4a2abfbaa234b7cf3ecdbab222b87a5d01ccb9 /usr.sbin/makefs
parentDo not try getnetbyname(3) if gethostbyname(3) returns no result. (diff)
downloadwireguard-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/makefs')
-rw-r--r--usr.sbin/makefs/msdos/msdosfs_fat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/makefs/msdos/msdosfs_fat.c b/usr.sbin/makefs/msdos/msdosfs_fat.c
index c2fb2db6c42..5ac212b6b8b 100644
--- a/usr.sbin/makefs/msdos/msdosfs_fat.c
+++ b/usr.sbin/makefs/msdos/msdosfs_fat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msdosfs_fat.c,v 1.4 2016/12/17 16:43:30 krw Exp $ */
+/* $OpenBSD: msdosfs_fat.c,v 1.5 2018/04/26 12:42:51 guenther Exp $ */
/* $NetBSD: msdosfs_fat.c,v 1.31 2016/05/07 16:43:02 mlelstv Exp $ */
/*-
@@ -52,7 +52,6 @@
* kernel include files.
*/
#include <sys/param.h>
-#include <sys/file.h>
#include "ffs/buf.h"