summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/hppa/stand/mkboot/mkboot.c4
-rw-r--r--sys/arch/octeon/dev/amdcf.c4
-rw-r--r--sys/arch/octeon/dev/octcf.c4
-rw-r--r--sys/arch/sparc64/dev/fd.c4
-rw-r--r--sys/arch/sparc64/dev/sab.c4
-rw-r--r--sys/dev/ata/wd.c4
-rw-r--r--sys/dev/ic/com.c4
-rw-r--r--sys/dev/ic/wdc.c4
-rw-r--r--sys/dev/ic/z8530tty.c4
-rw-r--r--sys/dev/isa/fd.c4
-rw-r--r--sys/dev/isa/spkr.c4
-rw-r--r--sys/dev/pcmcia/gpr.c4
-rw-r--r--sys/dev/rd.c4
-rw-r--r--sys/dev/sbus/magma.c4
-rw-r--r--sys/dev/sbus/spif.c4
-rw-r--r--sys/dev/usb/uaudio.c4
-rw-r--r--sys/dev/usb/ucom.c4
-rw-r--r--sys/dev/usb/ugen.c4
-rw-r--r--sys/dev/usb/umidi.c4
-rw-r--r--sys/dev/usb/uvideo.c4
-rw-r--r--sys/dev/vnd.c4
-rw-r--r--sys/isofs/cd9660/cd9660_vfsops.c4
-rw-r--r--sys/kern/exec_elf.c4
-rw-r--r--sys/kern/kern_acct.c4
-rw-r--r--sys/kern/kern_ktrace.c4
-rw-r--r--sys/kern/kern_sig.c4
-rw-r--r--sys/kern/spec_vnops.c4
-rw-r--r--sys/kern/tty.c4
-rw-r--r--sys/kern/tty_tty.c4
-rw-r--r--sys/msdosfs/msdosfs_vfsops.c4
-rw-r--r--sys/net/bpf.c4
-rw-r--r--sys/net/if_tun.c4
-rw-r--r--sys/net/ppp_tty.c4
-rw-r--r--sys/scsi/cd.c4
-rw-r--r--sys/scsi/sd.c4
-rw-r--r--sys/ufs/ext2fs/ext2fs_vfsops.c4
-rw-r--r--sys/ufs/ext2fs/ext2fs_vnops.c4
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c4
-rw-r--r--sys/ufs/ufs/ufs_quota.c4
-rw-r--r--sys/uvm/uvm_swap.c4
40 files changed, 80 insertions, 80 deletions
diff --git a/sys/arch/hppa/stand/mkboot/mkboot.c b/sys/arch/hppa/stand/mkboot/mkboot.c
index 5028c4225a5..88d71da067b 100644
--- a/sys/arch/hppa/stand/mkboot/mkboot.c
+++ b/sys/arch/hppa/stand/mkboot/mkboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mkboot.c,v 1.20 2014/10/26 10:32:30 miod Exp $ */
+/* $OpenBSD: mkboot.c,v 1.21 2017/12/30 23:08:29 guenther Exp $ */
/*
* Copyright (c) 1990, 1993
@@ -34,11 +34,11 @@
#include <sys/param.h>
#include <sys/exec.h>
#include <sys/exec_elf.h>
-#include <sys/file.h>
#include <sys/stat.h>
#include <ctype.h>
#include <err.h>
+#include <fcntl.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/sys/arch/octeon/dev/amdcf.c b/sys/arch/octeon/dev/amdcf.c
index c964dbac71a..15d9801fbb9 100644
--- a/sys/arch/octeon/dev/amdcf.c
+++ b/sys/arch/octeon/dev/amdcf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: amdcf.c,v 1.4 2017/10/24 09:36:13 jsg Exp $ */
+/* $OpenBSD: amdcf.c,v 1.5 2017/12/30 23:08:29 guenther Exp $ */
/*
* Copyright (c) 2007, Juniper Networks, Inc.
@@ -75,7 +75,7 @@
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/conf.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/mutex.h>
diff --git a/sys/arch/octeon/dev/octcf.c b/sys/arch/octeon/dev/octcf.c
index 70b032fcf83..8d7550404dc 100644
--- a/sys/arch/octeon/dev/octcf.c
+++ b/sys/arch/octeon/dev/octcf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: octcf.c,v 1.30 2017/10/24 09:36:13 jsg Exp $ */
+/* $OpenBSD: octcf.c,v 1.31 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: wd.c,v 1.193 1999/02/28 17:15:27 explorer Exp $ */
/*
@@ -58,7 +58,7 @@
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/conf.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/mutex.h>
diff --git a/sys/arch/sparc64/dev/fd.c b/sys/arch/sparc64/dev/fd.c
index 17a28a955fe..3fb2bce141c 100644
--- a/sys/arch/sparc64/dev/fd.c
+++ b/sys/arch/sparc64/dev/fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fd.c,v 1.48 2017/05/04 22:47:27 deraadt Exp $ */
+/* $OpenBSD: fd.c,v 1.49 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: fd.c,v 1.112 2003/08/07 16:29:35 agc Exp $ */
/*-
@@ -106,7 +106,7 @@
#include <sys/systm.h>
#include <sys/timeout.h>
#include <sys/kernel.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/ioctl.h>
#include <sys/conf.h>
#include <sys/device.h>
diff --git a/sys/arch/sparc64/dev/sab.c b/sys/arch/sparc64/dev/sab.c
index f237fd09948..9d9915a90b0 100644
--- a/sys/arch/sparc64/dev/sab.c
+++ b/sys/arch/sparc64/dev/sab.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sab.c,v 1.33 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: sab.c,v 1.34 2017/12/30 23:08:29 guenther Exp $ */
/*
* Copyright (c) 2001 Jason L. Wright (jason@thought.net)
@@ -39,7 +39,7 @@
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/conf.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/ioctl.h>
#include <sys/kernel.h>
#include <sys/proc.h>
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c
index f70a4090c3c..aa095ac1109 100644
--- a/sys/dev/ata/wd.c
+++ b/sys/dev/ata/wd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wd.c,v 1.124 2017/12/14 06:21:04 deraadt Exp $ */
+/* $OpenBSD: wd.c,v 1.125 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: wd.c,v 1.193 1999/02/28 17:15:27 explorer Exp $ */
/*
@@ -62,7 +62,7 @@
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/conf.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/mutex.h>
diff --git a/sys/dev/ic/com.c b/sys/dev/ic/com.c
index ba3dfce322a..e0b1087265c 100644
--- a/sys/dev/ic/com.c
+++ b/sys/dev/ic/com.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com.c,v 1.163 2017/04/30 16:45:46 mpi Exp $ */
+/* $OpenBSD: com.c,v 1.164 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: com.c,v 1.82.4.1 1996/06/02 09:08:00 mrg Exp $ */
/*
@@ -68,7 +68,7 @@
#include <sys/selinfo.h>
#include <sys/tty.h>
#include <sys/conf.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/uio.h>
#include <sys/kernel.h>
#include <sys/syslog.h>
diff --git a/sys/dev/ic/wdc.c b/sys/dev/ic/wdc.c
index 3584b559e8f..8d3eb5b7d44 100644
--- a/sys/dev/ic/wdc.c
+++ b/sys/dev/ic/wdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdc.c,v 1.133 2017/09/26 22:12:04 mikeb Exp $ */
+/* $OpenBSD: wdc.c,v 1.134 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: wdc.c,v 1.68 1999/06/23 19:00:17 bouyer Exp $ */
/*
* Copyright (c) 1998, 2001 Manuel Bouyer. All rights reserved.
@@ -2032,7 +2032,7 @@ wdcbit_bucket(struct channel_softc *chp, int size)
#include <sys/ataio.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
int wdc_ioc_ata_cmd(struct ata_drive_datas *, atareq_t *);
diff --git a/sys/dev/ic/z8530tty.c b/sys/dev/ic/z8530tty.c
index d9731e4ff80..08d513637f3 100644
--- a/sys/dev/ic/z8530tty.c
+++ b/sys/dev/ic/z8530tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: z8530tty.c,v 1.28 2017/04/30 13:04:49 mpi Exp $ */
+/* $OpenBSD: z8530tty.c,v 1.29 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: z8530tty.c,v 1.77 2001/05/30 15:24:24 lukem Exp $ */
/*-
@@ -100,7 +100,7 @@
#include <sys/proc.h>
#include <sys/device.h>
#include <sys/conf.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/ioctl.h>
#include <sys/malloc.h>
#include <sys/tty.h>
diff --git a/sys/dev/isa/fd.c b/sys/dev/isa/fd.c
index 0767e21c153..4ee21c1aa6e 100644
--- a/sys/dev/isa/fd.c
+++ b/sys/dev/isa/fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fd.c,v 1.105 2017/09/03 20:03:58 sf Exp $ */
+/* $OpenBSD: fd.c,v 1.106 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: fd.c,v 1.90 1996/05/12 23:12:03 mycroft Exp $ */
/*-
@@ -45,7 +45,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/ioctl.h>
#include <sys/device.h>
#include <sys/disklabel.h>
diff --git a/sys/dev/isa/spkr.c b/sys/dev/isa/spkr.c
index 26cc2434802..07311cb522b 100644
--- a/sys/dev/isa/spkr.c
+++ b/sys/dev/isa/spkr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spkr.c,v 1.21 2016/03/19 11:34:22 mpi Exp $ */
+/* $OpenBSD: spkr.c,v 1.22 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: spkr.c,v 1.1 1998/04/15 20:26:18 drochner Exp $ */
/*
@@ -52,7 +52,7 @@
#include <sys/uio.h>
#include <sys/ioctl.h>
#include <sys/conf.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <dev/isa/pcppivar.h>
diff --git a/sys/dev/pcmcia/gpr.c b/sys/dev/pcmcia/gpr.c
index 46902793854..8180ac25f34 100644
--- a/sys/dev/pcmcia/gpr.c
+++ b/sys/dev/pcmcia/gpr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gpr.c,v 1.17 2016/03/14 23:08:06 krw Exp $ */
+/* $OpenBSD: gpr.c,v 1.18 2017/12/30 23:08:29 guenther Exp $ */
/*
* Copyright (c) 2002, Federico G. Schwindt
@@ -39,7 +39,7 @@
#include <sys/device.h>
#include <sys/systm.h>
#include <sys/conf.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/ioctl.h>
#include <sys/proc.h>
diff --git a/sys/dev/rd.c b/sys/dev/rd.c
index 8ddd5ff0264..7ca19cbbebc 100644
--- a/sys/dev/rd.c
+++ b/sys/dev/rd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rd.c,v 1.12 2015/09/11 20:43:23 dlg Exp $ */
+/* $OpenBSD: rd.c,v 1.13 2017/12/30 23:08:29 guenther Exp $ */
/*
* Copyright (c) 2011 Matthew Dempsky <matthew@dempsky.org>
@@ -27,7 +27,7 @@
#include <sys/device.h>
#include <sys/disk.h>
#include <sys/stat.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/uio.h>
#include <sys/conf.h>
#include <sys/dkio.h>
diff --git a/sys/dev/sbus/magma.c b/sys/dev/sbus/magma.c
index ff8ac99e596..22f9fe69683 100644
--- a/sys/dev/sbus/magma.c
+++ b/sys/dev/sbus/magma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: magma.c,v 1.26 2016/03/14 18:01:18 stefan Exp $ */
+/* $OpenBSD: magma.c,v 1.27 2017/12/30 23:08:29 guenther Exp $ */
/*-
* Copyright (c) 1998 Iain Hibbert
@@ -36,7 +36,7 @@
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/device.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/ioctl.h>
#include <sys/malloc.h>
#include <sys/tty.h>
diff --git a/sys/dev/sbus/spif.c b/sys/dev/sbus/spif.c
index 260b8afbcdc..8f6c242f09e 100644
--- a/sys/dev/sbus/spif.c
+++ b/sys/dev/sbus/spif.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spif.c,v 1.19 2010/07/02 17:27:01 nicm Exp $ */
+/* $OpenBSD: spif.c,v 1.20 2017/12/30 23:08:29 guenther Exp $ */
/*
* Copyright (c) 1999-2002 Jason L. Wright (jason@thought.net)
@@ -41,7 +41,7 @@
#include <sys/proc.h>
#include <sys/device.h>
#include <sys/kernel.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/errno.h>
#include <sys/ioctl.h>
#include <sys/mbuf.h>
diff --git a/sys/dev/usb/uaudio.c b/sys/dev/usb/uaudio.c
index 863a106cf56..5cfb601376f 100644
--- a/sys/dev/usb/uaudio.c
+++ b/sys/dev/usb/uaudio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uaudio.c,v 1.127 2017/05/03 06:58:11 ratchov Exp $ */
+/* $OpenBSD: uaudio.c,v 1.128 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: uaudio.c,v 1.90 2004/10/29 17:12:53 kent Exp $ */
/*
@@ -44,7 +44,7 @@
#include <sys/device.h>
#include <sys/ioctl.h>
#include <sys/tty.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/selinfo.h>
#include <sys/poll.h>
diff --git a/sys/dev/usb/ucom.c b/sys/dev/usb/ucom.c
index b3c2043a3ce..88aa365399c 100644
--- a/sys/dev/usb/ucom.c
+++ b/sys/dev/usb/ucom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ucom.c,v 1.65 2015/03/14 03:38:49 jsg Exp $ */
+/* $OpenBSD: ucom.c,v 1.66 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: ucom.c,v 1.49 2003/01/01 00:10:25 thorpej Exp $ */
/*
@@ -41,7 +41,7 @@
#include <sys/ioctl.h>
#include <sys/conf.h>
#include <sys/tty.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/selinfo.h>
#include <sys/vnode.h>
#include <sys/device.h>
diff --git a/sys/dev/usb/ugen.c b/sys/dev/usb/ugen.c
index 27e910e874e..673dc465807 100644
--- a/sys/dev/usb/ugen.c
+++ b/sys/dev/usb/ugen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ugen.c,v 1.96 2017/07/21 20:13:41 ians Exp $ */
+/* $OpenBSD: ugen.c,v 1.97 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: ugen.c,v 1.63 2002/11/26 18:49:48 christos Exp $ */
/* $FreeBSD: src/sys/dev/usb/ugen.c,v 1.26 1999/11/17 22:33:41 n_hibma Exp $ */
@@ -41,7 +41,7 @@
#include <sys/ioctl.h>
#include <sys/conf.h>
#include <sys/tty.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/selinfo.h>
#include <sys/vnode.h>
#include <sys/poll.h>
diff --git a/sys/dev/usb/umidi.c b/sys/dev/usb/umidi.c
index 4d4c1b8ad9c..3f20e5f2c08 100644
--- a/sys/dev/usb/umidi.c
+++ b/sys/dev/usb/umidi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umidi.c,v 1.45 2017/04/08 02:57:25 deraadt Exp $ */
+/* $OpenBSD: umidi.c,v 1.46 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: umidi.c,v 1.16 2002/07/11 21:14:32 augustss Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
#include <sys/device.h>
#include <sys/ioctl.h>
#include <sys/conf.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/selinfo.h>
#include <sys/poll.h>
diff --git a/sys/dev/usb/uvideo.c b/sys/dev/usb/uvideo.c
index 8abf1b47a56..007a6e92d38 100644
--- a/sys/dev/usb/uvideo.c
+++ b/sys/dev/usb/uvideo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvideo.c,v 1.195 2017/08/21 14:38:32 jsg Exp $ */
+/* $OpenBSD: uvideo.c,v 1.196 2017/12/30 23:08:29 guenther Exp $ */
/*
* Copyright (c) 2008 Robert Nagy <robert@openbsd.org>
@@ -24,7 +24,7 @@
#include <sys/device.h>
#include <sys/ioctl.h>
#include <sys/tty.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/selinfo.h>
#include <sys/lock.h>
#include <sys/stat.h>
diff --git a/sys/dev/vnd.c b/sys/dev/vnd.c
index ba8db67155e..7fbb5107c4e 100644
--- a/sys/dev/vnd.c
+++ b/sys/dev/vnd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vnd.c,v 1.165 2017/07/19 14:54:29 deraadt Exp $ */
+/* $OpenBSD: vnd.c,v 1.166 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: vnd.c,v 1.26 1996/03/30 23:06:11 christos Exp $ */
/*
@@ -59,7 +59,7 @@
#include <sys/disk.h>
#include <sys/stat.h>
#include <sys/vnode.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/uio.h>
#include <sys/conf.h>
#include <sys/dkio.h>
diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c
index 1f4bb0e55a4..efe2e4abdb5 100644
--- a/sys/isofs/cd9660/cd9660_vfsops.c
+++ b/sys/isofs/cd9660/cd9660_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd9660_vfsops.c,v 1.85 2017/12/11 05:27:40 deraadt Exp $ */
+/* $OpenBSD: cd9660_vfsops.c,v 1.86 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: cd9660_vfsops.c,v 1.26 1997/06/13 15:38:58 pk Exp $ */
/*-
@@ -47,7 +47,7 @@
#include <sys/specdev.h>
#include <sys/mount.h>
#include <sys/buf.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/disklabel.h>
#include <sys/ioctl.h>
#include <sys/cdio.h>
diff --git a/sys/kern/exec_elf.c b/sys/kern/exec_elf.c
index 021a60d72b2..0a2fc0a9c8a 100644
--- a/sys/kern/exec_elf.c
+++ b/sys/kern/exec_elf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_elf.c,v 1.141 2017/09/07 11:32:14 bluhm Exp $ */
+/* $OpenBSD: exec_elf.c,v 1.142 2017/12/30 23:08:29 guenther Exp $ */
/*
* Copyright (c) 1996 Per Fogelstrom
@@ -79,7 +79,7 @@
#include <sys/syslog.h>
#include <sys/exec.h>
#include <sys/exec_elf.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/ptrace.h>
#include <sys/syscall.h>
#include <sys/signalvar.h>
diff --git a/sys/kern/kern_acct.c b/sys/kern/kern_acct.c
index 692eaa511fe..e415570fdbc 100644
--- a/sys/kern/kern_acct.c
+++ b/sys/kern/kern_acct.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_acct.c,v 1.33 2017/01/21 05:42:03 guenther Exp $ */
+/* $OpenBSD: kern_acct.c,v 1.34 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: kern_acct.c,v 1.42 1996/02/04 02:15:12 christos Exp $ */
/*-
@@ -43,7 +43,7 @@
#include <sys/proc.h>
#include <sys/mount.h>
#include <sys/vnode.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/syslog.h>
#include <sys/kernel.h>
#include <sys/namei.h>
diff --git a/sys/kern/kern_ktrace.c b/sys/kern/kern_ktrace.c
index 08eab398030..b386ee3af06 100644
--- a/sys/kern/kern_ktrace.c
+++ b/sys/kern/kern_ktrace.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_ktrace.c,v 1.93 2017/11/28 06:03:41 guenther Exp $ */
+/* $OpenBSD: kern_ktrace.c,v 1.94 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: kern_ktrace.c,v 1.23 1996/02/09 18:59:36 christos Exp $ */
/*
@@ -36,7 +36,7 @@
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/sched.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/namei.h>
#include <sys/vnode.h>
#include <sys/lock.h>
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index c67ad40f2b6..4dec0398107 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sig.c,v 1.213 2017/11/27 01:20:12 guenther Exp $ */
+/* $OpenBSD: kern_sig.c,v 1.214 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: kern_sig.c,v 1.54 1996/04/22 01:38:32 christos Exp $ */
/*
@@ -49,7 +49,7 @@
#include <sys/proc.h>
#include <sys/systm.h>
#include <sys/acct.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/filedesc.h>
#include <sys/kernel.h>
#include <sys/wait.h>
diff --git a/sys/kern/spec_vnops.c b/sys/kern/spec_vnops.c
index b2e104fc28e..db115daf7ca 100644
--- a/sys/kern/spec_vnops.c
+++ b/sys/kern/spec_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spec_vnops.c,v 1.89 2016/04/05 19:26:15 natano Exp $ */
+/* $OpenBSD: spec_vnops.c,v 1.90 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: spec_vnops.c,v 1.29 1996/04/22 01:42:38 christos Exp $ */
/*
@@ -45,7 +45,7 @@
#include <sys/stat.h>
#include <sys/errno.h>
#include <sys/ioctl.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/disklabel.h>
#include <sys/lockf.h>
#include <sys/poll.h>
diff --git a/sys/kern/tty.c b/sys/kern/tty.c
index f80e4bd983f..a22f9d797f8 100644
--- a/sys/kern/tty.c
+++ b/sys/kern/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.134 2017/06/29 04:10:07 deraadt Exp $ */
+/* $OpenBSD: tty.c,v 1.135 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: tty.c,v 1.68.4.2 1996/06/06 16:04:52 thorpej Exp $ */
/*-
@@ -44,7 +44,7 @@
#define TTYDEFCHARS
#include <sys/tty.h>
#undef TTYDEFCHARS
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/conf.h>
#include <sys/uio.h>
#include <sys/kernel.h>
diff --git a/sys/kern/tty_tty.c b/sys/kern/tty_tty.c
index 0a2f5637f82..3d7ee45d3ac 100644
--- a/sys/kern/tty_tty.c
+++ b/sys/kern/tty_tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty_tty.c,v 1.20 2016/09/06 08:13:23 tedu Exp $ */
+/* $OpenBSD: tty_tty.c,v 1.21 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: tty_tty.c,v 1.13 1996/03/30 22:24:46 christos Exp $ */
/*-
@@ -42,7 +42,7 @@
#include <sys/tty.h>
#include <sys/vnode.h>
#include <sys/lock.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#define cttyvp(p) \
diff --git a/sys/msdosfs/msdosfs_vfsops.c b/sys/msdosfs/msdosfs_vfsops.c
index 2a403a9cb59..67af60dcbf9 100644
--- a/sys/msdosfs/msdosfs_vfsops.c
+++ b/sys/msdosfs/msdosfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msdosfs_vfsops.c,v 1.85 2017/12/11 05:27:40 deraadt Exp $ */
+/* $OpenBSD: msdosfs_vfsops.c,v 1.86 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: msdosfs_vfsops.c,v 1.48 1997/10/18 02:54:57 briggs Exp $ */
/*-
@@ -58,7 +58,7 @@
#include <sys/specdev.h> /* XXX */ /* defines v_rdev */
#include <sys/mount.h>
#include <sys/buf.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/disklabel.h>
#include <sys/ioctl.h>
#include <sys/malloc.h>
diff --git a/sys/net/bpf.c b/sys/net/bpf.c
index 21f1799cbf6..55bc2ba35c7 100644
--- a/sys/net/bpf.c
+++ b/sys/net/bpf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bpf.c,v 1.164 2017/08/11 21:24:19 mpi Exp $ */
+/* $OpenBSD: bpf.c,v 1.165 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: bpf.c,v 1.33 1997/02/21 23:59:35 thorpej Exp $ */
/*
@@ -48,7 +48,7 @@
#include <sys/ioctl.h>
#include <sys/conf.h>
#include <sys/vnode.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/socket.h>
#include <sys/poll.h>
#include <sys/kernel.h>
diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c
index eabbaad9236..3a7fd26d0b1 100644
--- a/sys/net/if_tun.c
+++ b/sys/net/if_tun.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_tun.c,v 1.178 2017/08/11 21:24:19 mpi Exp $ */
+/* $OpenBSD: if_tun.c,v 1.179 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: if_tun.c,v 1.24 1996/05/07 02:40:48 thorpej Exp $ */
/*
@@ -48,7 +48,7 @@
#include <sys/errno.h>
#include <sys/syslog.h>
#include <sys/selinfo.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/time.h>
#include <sys/device.h>
#include <sys/vnode.h>
diff --git a/sys/net/ppp_tty.c b/sys/net/ppp_tty.c
index c358b91c211..6a5d2506947 100644
--- a/sys/net/ppp_tty.c
+++ b/sys/net/ppp_tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ppp_tty.c,v 1.46 2017/01/24 10:08:30 krw Exp $ */
+/* $OpenBSD: ppp_tty.c,v 1.47 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: ppp_tty.c,v 1.12 1997/03/24 21:23:10 christos Exp $ */
/*
@@ -104,7 +104,7 @@
#include <sys/socket.h>
#include <sys/timeout.h>
#include <sys/ioctl.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/tty.h>
#include <sys/kernel.h>
#include <sys/conf.h>
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c
index a83b0662a33..7e0ea441142 100644
--- a/sys/scsi/cd.c
+++ b/sys/scsi/cd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd.c,v 1.221 2017/09/08 05:36:53 deraadt Exp $ */
+/* $OpenBSD: cd.c,v 1.222 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */
/*
@@ -50,7 +50,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/timeout.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/mtio.h>
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c
index 06db326216f..a02d787c960 100644
--- a/sys/scsi/sd.c
+++ b/sys/scsi/sd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sd.c,v 1.274 2017/09/08 05:36:53 deraadt Exp $ */
+/* $OpenBSD: sd.c,v 1.275 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: sd.c,v 1.111 1997/04/02 02:29:41 mycroft Exp $ */
/*-
@@ -51,7 +51,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/timeout.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/mtio.h>
diff --git a/sys/ufs/ext2fs/ext2fs_vfsops.c b/sys/ufs/ext2fs/ext2fs_vfsops.c
index 365f01e15ad..114285d423c 100644
--- a/sys/ufs/ext2fs/ext2fs_vfsops.c
+++ b/sys/ufs/ext2fs/ext2fs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ext2fs_vfsops.c,v 1.100 2017/12/11 05:27:40 deraadt Exp $ */
+/* $OpenBSD: ext2fs_vfsops.c,v 1.101 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: ext2fs_vfsops.c,v 1.1 1997/06/11 09:34:07 bouyer Exp $ */
/*
@@ -45,7 +45,7 @@
#include <sys/buf.h>
#include <sys/disk.h>
#include <sys/mbuf.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/disklabel.h>
#include <sys/ioctl.h>
#include <sys/errno.h>
diff --git a/sys/ufs/ext2fs/ext2fs_vnops.c b/sys/ufs/ext2fs/ext2fs_vnops.c
index 271fd221cff..7ea282af241 100644
--- a/sys/ufs/ext2fs/ext2fs_vnops.c
+++ b/sys/ufs/ext2fs/ext2fs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ext2fs_vnops.c,v 1.77 2016/03/19 12:04:16 natano Exp $ */
+/* $OpenBSD: ext2fs_vnops.c,v 1.78 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: ext2fs_vnops.c,v 1.1 1997/06/11 09:34:09 bouyer Exp $ */
/*
@@ -43,7 +43,7 @@
#include <sys/systm.h>
#include <sys/resourcevar.h>
#include <sys/kernel.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/stat.h>
#include <sys/proc.h>
#include <sys/conf.h>
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c
index 64af433a272..9492e50d6fd 100644
--- a/sys/ufs/ffs/ffs_vfsops.c
+++ b/sys/ufs/ffs/ffs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ffs_vfsops.c,v 1.170 2017/12/14 20:20:38 deraadt Exp $ */
+/* $OpenBSD: ffs_vfsops.c,v 1.171 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: ffs_vfsops.c,v 1.19 1996/02/09 22:22:26 christos Exp $ */
/*
@@ -42,7 +42,7 @@
#include <sys/mount.h>
#include <sys/buf.h>
#include <sys/mbuf.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/ioctl.h>
#include <sys/errno.h>
#include <sys/malloc.h>
diff --git a/sys/ufs/ufs/ufs_quota.c b/sys/ufs/ufs/ufs_quota.c
index 8585f881c33..a860d5b5686 100644
--- a/sys/ufs/ufs/ufs_quota.c
+++ b/sys/ufs/ufs/ufs_quota.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ufs_quota.c,v 1.39 2016/03/19 12:04:16 natano Exp $ */
+/* $OpenBSD: ufs_quota.c,v 1.40 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: ufs_quota.c,v 1.8 1996/02/09 22:36:09 christos Exp $ */
/*
@@ -40,7 +40,7 @@
#include <sys/systm.h>
#include <sys/namei.h>
#include <sys/malloc.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/proc.h>
#include <sys/vnode.h>
#include <sys/mount.h>
diff --git a/sys/uvm/uvm_swap.c b/sys/uvm/uvm_swap.c
index a0de3e668f7..6d6ef183867 100644
--- a/sys/uvm/uvm_swap.c
+++ b/sys/uvm/uvm_swap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_swap.c,v 1.141 2017/04/09 18:14:39 dhill Exp $ */
+/* $OpenBSD: uvm_swap.c,v 1.142 2017/12/30 23:08:29 guenther Exp $ */
/* $NetBSD: uvm_swap.c,v 1.40 2000/11/17 11:39:39 mrg Exp $ */
/*
@@ -43,7 +43,7 @@
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/vnode.h>
-#include <sys/file.h>
+#include <sys/fcntl.h>
#include <sys/extent.h>
#include <sys/mount.h>
#include <sys/pool.h>