Don't #include <sys/fcntl.h> in <sys/file.h> if KERNEL is defined.

Fixed everything that depended on getting fcntl.h stuff from the wrong
place.  Most things don't depend on file.h stuff at all.
This commit is contained in:
Bruce Evans 1997-03-23 03:37:54 +00:00
parent c5d593ae63
commit 3ac4d1ef0c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24131
77 changed files with 144 additions and 126 deletions

View File

@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id$
* $Id: linux_ioctl.c,v 1.14 1997/02/22 09:38:21 peter Exp $
*/
#include <sys/param.h>
@ -34,6 +34,7 @@
#include <sys/proc.h>
#include <sys/ioctl.h>
#include <sys/ioctl_compat.h>
#include <sys/fcntl.h>
#include <sys/file.h>
#include <sys/filedesc.h>
#include <sys/tty.h>

View File

@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id$
* $Id: linux_misc.c,v 1.24 1997/02/22 09:38:23 peter Exp $
*/
#include <sys/param.h>
@ -36,7 +36,7 @@
#include <sys/mman.h>
#include <sys/proc.h>
#include <sys/dirent.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/filedesc.h>
#include <sys/ioctl.h>
#include <sys/imgact_aout.h>

View File

@ -27,7 +27,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id$
* $Id: cy.c,v 1.45 1997/02/22 09:36:03 peter Exp $
*/
#include "cy.h"
@ -76,7 +76,7 @@
#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/dkstat.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/uio.h>
#include <sys/kernel.h>
#include <sys/malloc.h>

View File

@ -27,7 +27,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id$
* $Id: cy.c,v 1.45 1997/02/22 09:36:03 peter Exp $
*/
#include "cy.h"
@ -76,7 +76,7 @@
#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/dkstat.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/uio.h>
#include <sys/kernel.h>
#include <sys/malloc.h>

View File

@ -1,5 +1,5 @@
/*-
* dgb.c $Id$
* dgb.c $Id: dgb.c,v 1.23 1997/02/22 09:29:42 peter Exp $
*
* Digiboard driver.
*
@ -50,7 +50,7 @@
#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/dkstat.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/uio.h>
#include <sys/kernel.h>
#include <sys/sysctl.h>

View File

@ -43,7 +43,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
* $Id$
* $Id: fd.c,v 1.97 1997/02/22 09:36:09 peter Exp $
*
*/
@ -59,7 +59,7 @@
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/conf.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/ioctl.h>
#include <machine/clock.h>
#include <machine/ioctl_fd.h>

View File

@ -40,7 +40,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id$
* $Id: mcd.c,v 1.85 1997/02/22 09:36:53 peter Exp $
*/
static const char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore";
@ -50,7 +50,7 @@ static const char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore";
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/conf.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/buf.h>
#include <sys/proc.h>
#include <sys/stat.h>

View File

@ -44,7 +44,7 @@
#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/dkstat.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/uio.h>
#include <sys/kernel.h>
#include <sys/syslog.h>

View File

@ -30,7 +30,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHORS BE LIABLE.
*
* $Id$
* $Id: si.c,v 1.55 1997/02/22 09:37:06 peter Exp $
*/
#ifndef lint
@ -46,7 +46,7 @@ static const char si_copyright1[] = "@(#) (C) Specialix International, 1990,199
#include <sys/ttydefaults.h>
#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/uio.h>
#include <sys/dkstat.h>
#include <sys/kernel.h>

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
* $Id$
* $Id: sio.c,v 1.159 1997/02/22 09:37:09 peter Exp $
*/
#include "opt_comconsole.h"
@ -56,7 +56,7 @@
#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/dkstat.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/uio.h>
#include <sys/kernel.h>
#include <sys/malloc.h>

View File

@ -23,7 +23,7 @@
#include <sys/ioctl_compat.h> /* Oooh..We need O/NTTYDISC */
#include <sys/proc.h>
#include <sys/tty.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/conf.h>
#include <sys/uio.h>
#include <sys/kernel.h>

View File

@ -38,7 +38,7 @@
* from: Utah Hdr: vn.c 1.13 94/04/02
*
* from: @(#)vn.c 8.6 (Berkeley) 4/1/94
* $Id$
* $Id: vn.c,v 1.44 1997/02/22 09:28:58 peter Exp $
*/
/*
@ -79,7 +79,7 @@
#include <sys/ioctl.h>
#include <sys/mount.h>
#include <sys/vnode.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/uio.h>
#include <sys/disklabel.h>
#include <sys/diskslice.h>

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)cd9660_vfsops.c 8.18 (Berkeley) 5/22/95
* $Id$
* $Id: cd9660_vfsops.c,v 1.19 1997/02/22 09:38:50 peter Exp $
*/
#include <sys/param.h>
@ -48,7 +48,7 @@
#include <miscfs/specfs/specdev.h>
#include <sys/mount.h>
#include <sys/buf.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/ioctl.h>
#include <sys/errno.h>
#include <sys/malloc.h>

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)fifo_vnops.c 8.10 (Berkeley) 5/27/95
* $Id$
* $Id: fifo_vnops.c,v 1.22 1997/02/22 09:40:17 peter Exp $
*/
#include <sys/param.h>
@ -46,6 +46,7 @@
#include <sys/socketvar.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/fcntl.h>
#include <sys/file.h>
#include <sys/errno.h>
#include <sys/malloc.h>

View File

@ -1,4 +1,4 @@
/* $Id: msdosfs_vfsops.c,v 1.17 1997/02/26 14:23:14 bde Exp $ */
/* $Id: msdosfs_vfsops.c,v 1.18 1997/03/18 19:50:10 peter Exp $ */
/* $NetBSD: msdosfs_vfsops.c,v 1.19 1994/08/21 18:44:10 ws Exp $ */
/*-
@ -57,7 +57,7 @@
#include <miscfs/specfs/specdev.h> /* XXX */ /* defines v_rdev */
#include <sys/mount.h>
#include <sys/buf.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/malloc.h>
#include <msdosfs/bpb.h>

View File

@ -35,7 +35,7 @@
*
* @(#)portal_vnops.c 8.14 (Berkeley) 5/21/95
*
* $Id$
* $Id: portal_vnops.c,v 1.17 1997/02/22 09:40:25 peter Exp $
*/
/*
@ -52,6 +52,7 @@
#include <sys/filedesc.h>
#include <sys/unistd.h>
#include <sys/vnode.h>
#include <sys/fcntl.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/mount.h>

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)union_subr.c 8.20 (Berkeley) 5/20/95
* $Id$
* $Id: union_subr.c,v 1.14 1997/02/22 09:40:40 peter Exp $
*/
#include <sys/param.h>
@ -45,7 +45,7 @@
#include <sys/vnode.h>
#include <sys/namei.h>
#include <sys/malloc.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/filedesc.h>
#include <sys/queue.h>
#include <sys/mount.h>

View File

@ -35,13 +35,13 @@
* SUCH DAMAGE.
*
* @(#)union_vnops.c 8.32 (Berkeley) 6/23/95
* $Id$
* $Id: union_vnops.c,v 1.19 1997/02/22 09:40:42 peter Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/types.h>

View File

@ -55,7 +55,7 @@
#include <sys/mount.h>
#include <sys/buf.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>

View File

@ -55,7 +55,7 @@
#include <sys/mount.h>
#include <sys/buf.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>

View File

@ -1,5 +1,5 @@
/*-
* dgb.c $Id$
* dgb.c $Id: dgb.c,v 1.23 1997/02/22 09:29:42 peter Exp $
*
* Digiboard driver.
*
@ -50,7 +50,7 @@
#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/dkstat.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/uio.h>
#include <sys/kernel.h>
#include <sys/sysctl.h>

View File

@ -24,13 +24,14 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id$
* $Id: ibcs2_fcntl.c,v 1.6 1997/02/22 09:33:18 peter Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/namei.h>
#include <sys/proc.h>
#include <sys/fcntl.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/filedesc.h>

View File

@ -31,6 +31,7 @@
#include <sys/namei.h>
#include <sys/dir.h>
#include <sys/proc.h>
#include <sys/fcntl.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/filedesc.h>

View File

@ -45,7 +45,7 @@
*
* @(#)sun_misc.c 8.1 (Berkeley) 6/18/93
*
* $Id$
* $Id: ibcs2_misc.c,v 1.16 1997/02/22 09:33:22 peter Exp $
*/
/*
@ -58,6 +58,7 @@
#include <sys/systm.h>
#include <sys/namei.h>
#include <sys/proc.h>
#include <sys/fcntl.h>
#include <sys/file.h>
#include <sys/filedesc.h>
#include <sys/ioctl.h>

View File

@ -26,7 +26,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id$
* $Id: imgact_coff.c,v 1.21 1997/02/22 09:33:30 peter Exp $
*/
#include <sys/param.h>
@ -36,7 +36,7 @@
#include <sys/mman.h>
#include <sys/imgact.h>
#include <sys/kernel.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/malloc.h>
#include <sys/mount.h>
#include <sys/namei.h>

View File

@ -25,7 +25,7 @@
#include <sys/kernel.h>
#include <sys/mbuf.h>
#include <sys/ioctl.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/conf.h>
#include <sys/proc.h>
#include <sys/tty.h>

View File

@ -27,7 +27,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id$
* $Id: cy.c,v 1.45 1997/02/22 09:36:03 peter Exp $
*/
#include "cy.h"
@ -76,7 +76,7 @@
#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/dkstat.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/uio.h>
#include <sys/kernel.h>
#include <sys/malloc.h>

View File

@ -43,7 +43,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
* $Id$
* $Id: fd.c,v 1.97 1997/02/22 09:36:09 peter Exp $
*
*/
@ -59,7 +59,7 @@
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/conf.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/ioctl.h>
#include <machine/clock.h>
#include <machine/ioctl_fd.h>

View File

@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: istallion.c,v 1.8 1997/02/22 09:36:43 peter Exp $
* $Id: istallion.c,v 1.9 1997/03/13 03:51:25 davidn Exp $
*/
/*****************************************************************************/
@ -48,7 +48,7 @@
#include <sys/tty.h>
#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/uio.h>
#include <sys/syslog.h>
#include <machine/cpu.h>

View File

@ -337,7 +337,7 @@ static char MATCDVERSION[]="Version 1(26) 18-Oct-95";
static char MATCDCOPYRIGHT[] = "Matsushita CD-ROM driver, Copr. 1994,1995 Frank Durda IV";
/* The proceeding strings may not be changed*/
/* $Id$ */
/* $Id: matcd.c,v 1.22 1997/02/22 09:38:11 peter Exp $ */
/*---------------------------------------------------------------------------
Include declarations
@ -351,7 +351,7 @@ static char MATCDCOPYRIGHT[] = "Matsushita CD-ROM driver, Copr. 1994,1995 Frank
#include <sys/dkbad.h>
#include <sys/cdio.h>
#include <sys/disklabel.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/ioctl.h>
#include <sys/proc.h>

View File

@ -40,7 +40,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id$
* $Id: mcd.c,v 1.85 1997/02/22 09:36:53 peter Exp $
*/
static const char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore";
@ -50,7 +50,7 @@ static const char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore";
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/conf.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/buf.h>
#include <sys/proc.h>
#include <sys/stat.h>

View File

@ -19,7 +19,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id$
* $Id: psm.c,v 1.37 1997/02/22 09:37:01 peter Exp $
*/
/*
@ -66,7 +66,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/syslog.h>

View File

@ -44,7 +44,7 @@
#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/dkstat.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/uio.h>
#include <sys/kernel.h>
#include <sys/syslog.h>

View File

@ -30,7 +30,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHORS BE LIABLE.
*
* $Id$
* $Id: si.c,v 1.55 1997/02/22 09:37:06 peter Exp $
*/
#ifndef lint
@ -46,7 +46,7 @@ static const char si_copyright1[] = "@(#) (C) Specialix International, 1990,199
#include <sys/ttydefaults.h>
#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/uio.h>
#include <sys/dkstat.h>
#include <sys/kernel.h>

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
* $Id$
* $Id: sio.c,v 1.159 1997/02/22 09:37:09 peter Exp $
*/
#include "opt_comconsole.h"
@ -56,7 +56,7 @@
#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/dkstat.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/uio.h>
#include <sys/kernel.h>
#include <sys/malloc.h>

View File

@ -23,7 +23,7 @@
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/filio.h>
#include <sys/uio.h>
#include <sys/kernel.h>

View File

@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: stallion.c,v 1.6 1997/02/22 09:37:13 peter Exp $
* $Id: stallion.c,v 1.7 1997/03/13 04:13:45 davidn Exp $
*/
/*****************************************************************************/
@ -48,7 +48,7 @@
#include <sys/tty.h>
#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/uio.h>
#include <sys/syslog.h>
#include <machine/cpu.h>

View File

@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id$
* $Id: linux_ioctl.c,v 1.14 1997/02/22 09:38:21 peter Exp $
*/
#include <sys/param.h>
@ -34,6 +34,7 @@
#include <sys/proc.h>
#include <sys/ioctl.h>
#include <sys/ioctl_compat.h>
#include <sys/fcntl.h>
#include <sys/file.h>
#include <sys/filedesc.h>
#include <sys/tty.h>

View File

@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id$
* $Id: linux_misc.c,v 1.24 1997/02/22 09:38:23 peter Exp $
*/
#include <sys/param.h>
@ -36,7 +36,7 @@
#include <sys/mman.h>
#include <sys/proc.h>
#include <sys/dirent.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/filedesc.h>
#include <sys/ioctl.h>
#include <sys/imgact_aout.h>

View File

@ -43,7 +43,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
* $Id$
* $Id: fd.c,v 1.97 1997/02/22 09:36:09 peter Exp $
*
*/
@ -59,7 +59,7 @@
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/conf.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/ioctl.h>
#include <machine/clock.h>
#include <machine/ioctl_fd.h>

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
* $Id$
* $Id: sio.c,v 1.159 1997/02/22 09:37:09 peter Exp $
*/
#include "opt_comconsole.h"
@ -56,7 +56,7 @@
#include <sys/proc.h>
#include <sys/conf.h>
#include <sys/dkstat.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/uio.h>
#include <sys/kernel.h>
#include <sys/malloc.h>

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)cd9660_vfsops.c 8.18 (Berkeley) 5/22/95
* $Id$
* $Id: cd9660_vfsops.c,v 1.19 1997/02/22 09:38:50 peter Exp $
*/
#include <sys/param.h>
@ -48,7 +48,7 @@
#include <miscfs/specfs/specdev.h>
#include <sys/mount.h>
#include <sys/buf.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/ioctl.h>
#include <sys/errno.h>
#include <sys/malloc.h>

View File

@ -26,7 +26,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id$
* $Id: imgact_elf.c,v 1.16 1997/02/22 09:38:56 peter Exp $
*/
#include "opt_rlimit.h"
@ -40,7 +40,7 @@
#include <sys/imgact_elf.h>
#include <sys/kernel.h>
#include <sys/sysent.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/malloc.h>
#include <sys/mount.h>
#include <sys/namei.h>

View File

@ -37,7 +37,7 @@
* SUCH DAMAGE.
*
* @(#)kern_acct.c 8.1 (Berkeley) 6/14/93
* $Id$
* $Id: kern_acct.c,v 1.13 1997/02/22 09:39:00 peter Exp $
*/
#include <sys/param.h>
@ -46,7 +46,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/sysent.h>

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)kern_ktrace.c 8.2 (Berkeley) 9/23/93
* $Id$
* $Id: kern_ktrace.c,v 1.17 1997/02/22 09:39:05 peter Exp $
*/
#include "opt_ktrace.h"
@ -40,7 +40,7 @@
#include <sys/systm.h>
#include <sys/sysproto.h>
#include <sys/proc.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/namei.h>
#include <sys/vnode.h>
#include <sys/ktrace.h>

View File

@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: kern_lkm.c,v 1.36 1997/02/22 09:39:06 peter Exp $
* $Id: kern_lkm.c,v 1.37 1997/02/27 16:40:20 bde Exp $
*/
#include <sys/param.h>
@ -39,7 +39,7 @@
#include <sys/ioctl.h>
#include <sys/tty.h>
#include <sys/conf.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/proc.h>
#include <sys/uio.h>
#include <sys/kernel.h>

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_sig.c 8.7 (Berkeley) 4/18/94
* $Id$
* $Id: kern_sig.c,v 1.30 1997/02/22 09:39:11 peter Exp $
*/
#include "opt_ktrace.h"
@ -54,7 +54,7 @@
#include <sys/times.h>
#include <sys/buf.h>
#include <sys/acct.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/kernel.h>
#include <sys/wait.h>
#include <sys/ktrace.h>

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)subr_log.c 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: subr_log.c,v 1.20 1997/02/22 09:39:16 peter Exp $
*/
/*
@ -45,7 +45,7 @@
#include <sys/vnode.h>
#include <sys/ioctl.h>
#include <sys/msgbuf.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/signalvar.h>
#include <sys/kernel.h>
#ifdef DEVFS

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)sys_generic.c 8.5 (Berkeley) 1/21/94
* $Id: sys_generic.c,v 1.23 1997/02/22 09:39:19 peter Exp $
* $Id: sys_generic.c,v 1.24 1997/03/22 08:03:36 bde Exp $
*/
#include "opt_ktrace.h"
@ -46,6 +46,7 @@
#include <sys/sysproto.h>
#include <sys/filedesc.h>
#include <sys/ioctl.h>
#include <sys/fcntl.h>
#include <sys/file.h>
#include <sys/proc.h>
#include <sys/stat.h>

View File

@ -16,7 +16,7 @@
* 4. Modifications may be freely made to this file if the above conditions
* are met.
*
* $Id: sys_pipe.c,v 1.24 1997/02/22 09:39:19 peter Exp $
* $Id: sys_pipe.c,v 1.25 1997/03/22 06:52:57 bde Exp $
*/
#ifndef OLD_PIPE
@ -54,6 +54,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/fcntl.h>
#include <sys/file.h>
#include <sys/protosw.h>
#include <sys/stat.h>

View File

@ -31,13 +31,14 @@
* SUCH DAMAGE.
*
* @(#)sys_socket.c 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: sys_socket.c,v 1.10 1997/02/22 09:39:20 peter Exp $
*/
#include <sys/param.h>
#include <sys/queue.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/fcntl.h>
#include <sys/file.h>
#include <sys/mbuf.h>
#include <sys/protosw.h>

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)tty.c 8.8 (Berkeley) 1/21/94
* $Id: tty.c,v 1.91 1997/02/22 09:39:23 peter Exp $
* $Id: tty.c,v 1.92 1997/03/22 06:52:58 bde Exp $
*/
/*-
@ -77,7 +77,7 @@
#define TTYDEFCHARS
#include <sys/tty.h>
#undef TTYDEFCHARS
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/conf.h>
#include <sys/dkstat.h>
#include <sys/uio.h>

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tty_pty.c 8.4 (Berkeley) 2/20/95
* $Id$
* $Id: tty_pty.c,v 1.41 1997/02/22 09:39:25 peter Exp $
*/
/*
@ -46,7 +46,7 @@
#include <sys/proc.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/vnode.h>

View File

@ -23,7 +23,7 @@
#include <sys/ioctl_compat.h> /* Oooh..We need O/NTTYDISC */
#include <sys/proc.h>
#include <sys/tty.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/conf.h>
#include <sys/uio.h>
#include <sys/kernel.h>

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tty_tty.c 8.2 (Berkeley) 9/23/93
* $Id$
* $Id: tty_tty.c,v 1.14 1997/02/22 09:39:27 peter Exp $
*/
/*
@ -44,7 +44,7 @@
#include <sys/proc.h>
#include <sys/tty.h>
#include <sys/vnode.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/kernel.h>
#ifdef DEVFS
#include <sys/devfsext.h>

View File

@ -31,14 +31,14 @@
* SUCH DAMAGE.
*
* @(#)uipc_socket.c 8.3 (Berkeley) 4/15/94
* $Id: uipc_socket.c,v 1.23 1997/02/22 09:39:28 peter Exp $
* $Id: uipc_socket.c,v 1.24 1997/02/24 20:30:56 wollman Exp $
*/
#include <sys/param.h>
#include <sys/queue.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/malloc.h>
#include <sys/mbuf.h>
#include <sys/domain.h>

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)uipc_syscalls.c 8.4 (Berkeley) 2/21/94
* $Id$
* $Id: uipc_syscalls.c,v 1.22 1997/02/22 09:39:29 peter Exp $
*/
#include "opt_ktrace.h"
@ -41,6 +41,7 @@
#include <sys/sysproto.h>
#include <sys/filedesc.h>
#include <sys/proc.h>
#include <sys/fcntl.h>
#include <sys/file.h>
#include <sys/buf.h>
#include <sys/malloc.h>

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* From: @(#)uipc_usrreq.c 8.3 (Berkeley) 1/4/94
* $Id: uipc_usrreq.c,v 1.20 1997/02/24 20:30:58 wollman Exp $
* $Id: uipc_usrreq.c,v 1.21 1997/03/21 16:12:32 wpaul Exp $
*/
#include <sys/param.h>
@ -39,6 +39,7 @@
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/domain.h>
#include <sys/fcntl.h>
#include <sys/file.h>
#include <sys/filedesc.h>
#include <sys/mbuf.h>

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_syscalls.c 8.13 (Berkeley) 4/15/94
* $Id: vfs_syscalls.c,v 1.58 1997/02/22 09:39:35 peter Exp $
* $Id: vfs_syscalls.c,v 1.59 1997/03/05 01:42:14 msmith Exp $
*/
/*
@ -55,6 +55,7 @@
#include <sys/namei.h>
#include <sys/filedesc.h>
#include <sys/kernel.h>
#include <sys/fcntl.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/unistd.h>

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_syscalls.c 8.13 (Berkeley) 4/15/94
* $Id: vfs_syscalls.c,v 1.58 1997/02/22 09:39:35 peter Exp $
* $Id: vfs_syscalls.c,v 1.59 1997/03/05 01:42:14 msmith Exp $
*/
/*
@ -55,6 +55,7 @@
#include <sys/namei.h>
#include <sys/filedesc.h>
#include <sys/kernel.h>
#include <sys/fcntl.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/unistd.h>

View File

@ -36,12 +36,13 @@
* SUCH DAMAGE.
*
* @(#)vfs_vnops.c 8.2 (Berkeley) 1/21/94
* $Id: vfs_vnops.c,v 1.31 1997/03/07 07:42:41 gpalmer Exp $
* $Id: vfs_vnops.c,v 1.32 1997/03/08 15:14:30 guido Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/fcntl.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/buf.h>

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)fifo_vnops.c 8.10 (Berkeley) 5/27/95
* $Id$
* $Id: fifo_vnops.c,v 1.22 1997/02/22 09:40:17 peter Exp $
*/
#include <sys/param.h>
@ -46,6 +46,7 @@
#include <sys/socketvar.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/fcntl.h>
#include <sys/file.h>
#include <sys/errno.h>
#include <sys/malloc.h>

View File

@ -35,7 +35,7 @@
*
* @(#)portal_vnops.c 8.14 (Berkeley) 5/21/95
*
* $Id$
* $Id: portal_vnops.c,v 1.17 1997/02/22 09:40:25 peter Exp $
*/
/*
@ -52,6 +52,7 @@
#include <sys/filedesc.h>
#include <sys/unistd.h>
#include <sys/vnode.h>
#include <sys/fcntl.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/mount.h>

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)union_subr.c 8.20 (Berkeley) 5/20/95
* $Id$
* $Id: union_subr.c,v 1.14 1997/02/22 09:40:40 peter Exp $
*/
#include <sys/param.h>
@ -45,7 +45,7 @@
#include <sys/vnode.h>
#include <sys/namei.h>
#include <sys/malloc.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/filedesc.h>
#include <sys/queue.h>
#include <sys/mount.h>

View File

@ -35,13 +35,13 @@
* SUCH DAMAGE.
*
* @(#)union_vnops.c 8.32 (Berkeley) 6/23/95
* $Id$
* $Id: union_vnops.c,v 1.19 1997/02/22 09:40:42 peter Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/types.h>

View File

@ -1,4 +1,4 @@
/* $Id: msdosfs_vfsops.c,v 1.17 1997/02/26 14:23:14 bde Exp $ */
/* $Id: msdosfs_vfsops.c,v 1.18 1997/03/18 19:50:10 peter Exp $ */
/* $NetBSD: msdosfs_vfsops.c,v 1.19 1994/08/21 18:44:10 ws Exp $ */
/*-
@ -57,7 +57,7 @@
#include <miscfs/specfs/specdev.h> /* XXX */ /* defines v_rdev */
#include <sys/mount.h>
#include <sys/buf.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/malloc.h>
#include <msdosfs/bpb.h>

View File

@ -37,7 +37,7 @@
*
* @(#)bpf.c 8.2 (Berkeley) 3/28/94
*
* $Id$
* $Id: bpf.c,v 1.29 1997/02/22 09:40:52 peter Exp $
*/
#include "bpfilter.h"
@ -60,7 +60,7 @@
#include <sys/signalvar.h>
#include <sys/ioctl.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#if defined(sparc) && BSD < 199103
#include <sys/stream.h>
#endif

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)if_sl.c 8.6 (Berkeley) 2/1/94
* $Id: if_sl.c,v 1.49 1997/02/22 09:41:06 peter Exp $
* $Id: if_sl.c,v 1.50 1997/03/11 19:39:21 bde Exp $
*/
/*
@ -78,7 +78,7 @@
#include <sys/dkstat.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/signalvar.h>
#include <sys/tty.h>
#include <sys/clist.h>

View File

@ -28,7 +28,7 @@
#include <sys/errno.h>
#include <sys/syslog.h>
#include <sys/select.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/signalvar.h>
#include <sys/kernel.h>
#include <sys/sysctl.h>

View File

@ -70,7 +70,7 @@
* Paul Mackerras (paulus@cs.anu.edu.au).
*/
/* $Id$ */
/* $Id: ppp_tty.c,v 1.13 1997/02/22 09:41:11 peter Exp $ */
/* from Id: ppp_tty.c,v 1.3 1995/08/16 01:36:40 paulus Exp */
/* from if_sl.c,v 1.11 84/10/04 12:54:47 rick Exp */
@ -87,7 +87,7 @@
#include <sys/dkstat.h>
#include <sys/socket.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>

View File

@ -14,7 +14,7 @@
*
* Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
*
* $Id$
* $Id: cd.c,v 1.78 1997/02/22 09:44:23 peter Exp $
*/
#include "opt_bounce.h"
@ -27,7 +27,7 @@
#include <sys/dkbad.h>
#include <sys/systm.h>
#include <sys/conf.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/buf.h>

View File

@ -31,14 +31,14 @@
* SUCH DAMAGE.
*
* @(#)file.h 8.3 (Berkeley) 1/9/95
* $Id$
* $Id: file.h,v 1.12 1997/02/22 09:45:14 peter Exp $
*/
#ifndef _SYS_FILE_H_
#define _SYS_FILE_H_
#include <sys/fcntl.h>
#ifndef KERNEL
#include <sys/fcntl.h>
#include <sys/unistd.h>
#endif

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ffs_vfsops.c 8.31 (Berkeley) 5/20/95
* $Id: ffs_vfsops.c,v 1.48 1997/03/18 19:50:12 peter Exp $
* $Id: ffs_vfsops.c,v 1.49 1997/03/22 06:53:30 bde Exp $
*/
#include "opt_quota.h"
@ -46,7 +46,7 @@
#include <sys/mount.h>
#include <sys/buf.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>

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)lfs_vfsops.c 8.20 (Berkeley) 6/10/95
* $Id: lfs_vfsops.c,v 1.16 1997/02/22 09:47:25 peter Exp $
* $Id: lfs_vfsops.c,v 1.17 1997/03/23 00:45:23 bde Exp $
*/
#include "opt_quota.h"
@ -45,7 +45,7 @@
#include <sys/mount.h>
#include <sys/buf.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>

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)ufs_quota.c 8.5 (Berkeley) 5/20/95
* $Id: ufs_quota.c,v 1.11 1997/02/22 09:47:50 peter Exp $
* $Id: ufs_quota.c,v 1.12 1997/03/09 06:10:34 mpp Exp $
*/
#include "opt_quota.h" /* not really necessary... */
@ -44,7 +44,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>

View File

@ -38,7 +38,7 @@
* from: Utah $Hdr: vm_mmap.c 1.6 91/10/21$
*
* @(#)vm_mmap.c 8.4 (Berkeley) 1/12/94
* $Id$
* $Id: vm_mmap.c,v 1.62 1997/02/22 09:48:27 peter Exp $
*/
/*
@ -54,6 +54,7 @@
#include <sys/resourcevar.h>
#include <sys/proc.h>
#include <sys/vnode.h>
#include <sys/fcntl.h>
#include <sys/file.h>
#include <sys/mman.h>
#include <sys/conf.h>

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)vm_swap.c 8.5 (Berkeley) 2/17/94
* $Id$
* $Id: vm_swap.c,v 1.42 1997/02/22 09:48:40 peter Exp $
*/
#include <sys/param.h>
@ -46,7 +46,7 @@
#include <sys/namei.h>
#include <sys/dmap.h> /* XXX */
#include <sys/vnode.h>
#include <sys/file.h>
#include <sys/fcntl.h>
#include <sys/rlist.h>
#include <sys/kernel.h>
#include <vm/vm.h>