Removed unnecessary #includes of <sys/user.h>. Some of these were just
to get the definitions of TRUE and FALSE which happen to be defined in a deeply nested include. Added nearby #includes of <sys/conf.h> where appropriate.
This commit is contained in:
parent
2baeef32b6
commit
86a1c05db0
@ -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: cy.c,v 1.21 1995/11/29 10:47:35 julian Exp $
|
||||
* $Id: cy.c,v 1.22 1995/11/29 14:39:37 julian Exp $
|
||||
*/
|
||||
|
||||
#include "cy.h"
|
||||
@ -77,7 +77,6 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/dkstat.h>
|
||||
#include <sys/file.h>
|
||||
|
@ -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: cy.c,v 1.21 1995/11/29 10:47:35 julian Exp $
|
||||
* $Id: cy.c,v 1.22 1995/11/29 14:39:37 julian Exp $
|
||||
*/
|
||||
|
||||
#include "cy.h"
|
||||
@ -77,7 +77,6 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/dkstat.h>
|
||||
#include <sys/file.h>
|
||||
|
@ -11,7 +11,7 @@
|
||||
* this software for any purpose. It is provided "as is"
|
||||
* without express or implied warranty.
|
||||
*
|
||||
* $Id: mse.c,v 1.17 1995/11/29 10:47:46 julian Exp $
|
||||
* $Id: mse.c,v 1.18 1995/11/29 14:39:47 julian Exp $
|
||||
*/
|
||||
/*
|
||||
* Driver for the Logitech and ATI Inport Bus mice for use with 386bsd and
|
||||
@ -48,8 +48,8 @@
|
||||
#if NMSE > 0
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
@ -40,7 +40,6 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/dkstat.h>
|
||||
#include <sys/file.h>
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
|
||||
* $Id: sio.c,v 1.122 1995/11/29 14:39:57 julian Exp $
|
||||
* $Id: sio.c,v 1.123 1995/11/29 15:00:07 bde Exp $
|
||||
*/
|
||||
|
||||
#include "sio.h"
|
||||
@ -51,7 +51,6 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/dkstat.h>
|
||||
#include <sys/file.h>
|
||||
|
@ -1,6 +1,6 @@
|
||||
static char _ispyid[] = "@(#)$Id: iispy.c,v 1.5 1995/11/29 10:47:07 julian Exp $";
|
||||
static char _ispyid[] = "@(#)$Id: iispy.c,v 1.6 1995/11/29 14:39:10 julian Exp $";
|
||||
/*******************************************************************************
|
||||
* II - Version 0.1 $Revision: 1.5 $ $State: Exp $
|
||||
* II - Version 0.1 $Revision: 1.6 $ $State: Exp $
|
||||
*
|
||||
* Copyright 1994 Dietmar Friede
|
||||
*******************************************************************************
|
||||
@ -10,6 +10,10 @@ static char _ispyid[] = "@(#)$Id: iispy.c,v 1.5 1995/11/29 10:47:07 julian E
|
||||
*
|
||||
*******************************************************************************
|
||||
* $Log: iispy.c,v $
|
||||
* Revision 1.6 1995/11/29 14:39:10 julian
|
||||
* If you're going to mechanically replicate something in 50 files
|
||||
* it's best to not have a (compiles cleanly) typo in it! (sigh)
|
||||
*
|
||||
* Revision 1.5 1995/11/29 10:47:07 julian
|
||||
* OK, that's it..
|
||||
* That's EVERY SINGLE driver that has an entry in conf.c..
|
||||
@ -46,10 +50,10 @@ static char _ispyid[] = "@(#)$Id: iispy.c,v 1.5 1995/11/29 10:47:07 julian E
|
||||
#include "param.h"
|
||||
#include "buf.h"
|
||||
#include "systm.h"
|
||||
#include "conf.h"
|
||||
#include "ioctl.h"
|
||||
#include "tty.h"
|
||||
#include "proc.h"
|
||||
#include "user.h"
|
||||
#include "uio.h"
|
||||
#include <sys/kernel.h>
|
||||
/*#include "malloc.h"*/
|
||||
|
@ -33,7 +33,6 @@
|
||||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/sysctl.h>
|
||||
|
||||
#include <i386/ibcs2/ibcs2_types.h>
|
||||
|
@ -31,7 +31,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* $Id: aic6360.c,v 1.13 1995/11/04 17:07:05 bde Exp $
|
||||
* $Id: aic6360.c,v 1.14 1995/11/29 10:26:51 phk Exp $
|
||||
*
|
||||
* Acknowledgements: Many of the algorithms used in this driver are
|
||||
* inspired by the work of Julian Elischer (julian@tfs.com) and
|
||||
@ -127,7 +127,6 @@
|
||||
#endif
|
||||
#include <sys/buf.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/queue.h>
|
||||
#ifndef __FreeBSD__
|
||||
#include <machine/pio.h>
|
||||
|
@ -34,7 +34,7 @@
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
/*
|
||||
* $Id: asc.c,v 1.7 1995/11/29 10:47:24 julian Exp $
|
||||
* $Id: asc.c,v 1.8 1995/11/29 14:39:31 julian Exp $
|
||||
*/
|
||||
|
||||
#include "asc.h"
|
||||
@ -43,7 +43,6 @@
|
||||
#include "param.h"
|
||||
#include "systm.h"
|
||||
#include "proc.h"
|
||||
#include "user.h"
|
||||
#include "buf.h"
|
||||
#include "malloc.h"
|
||||
#include "kernel.h"
|
||||
@ -60,8 +59,8 @@
|
||||
#else
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/kernel.h>
|
||||
|
@ -8,7 +8,7 @@
|
||||
* of this software, nor does the author assume any responsibility
|
||||
* for damages incurred with its use.
|
||||
*
|
||||
* $Id: ctx.c,v 1.9 1995/11/29 10:47:27 julian Exp $
|
||||
* $Id: ctx.c,v 1.10 1995/11/29 14:39:33 julian Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -113,9 +113,9 @@
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/malloc.h>
|
||||
|
@ -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: cy.c,v 1.21 1995/11/29 10:47:35 julian Exp $
|
||||
* $Id: cy.c,v 1.22 1995/11/29 14:39:37 julian Exp $
|
||||
*/
|
||||
|
||||
#include "cy.h"
|
||||
@ -77,7 +77,6 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/dkstat.h>
|
||||
#include <sys/file.h>
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "systm.h"
|
||||
#include "sys/ioctl.h"
|
||||
#include "proc.h"
|
||||
#include "user.h"
|
||||
#include "conf.h"
|
||||
#include "uio.h"
|
||||
#include "kernel.h"
|
||||
#include "malloc.h"
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/kernel.h>
|
||||
|
@ -11,7 +11,7 @@
|
||||
* this software for any purpose. It is provided "as is"
|
||||
* without express or implied warranty.
|
||||
*
|
||||
* $Id: mse.c,v 1.17 1995/11/29 10:47:46 julian Exp $
|
||||
* $Id: mse.c,v 1.18 1995/11/29 14:39:47 julian Exp $
|
||||
*/
|
||||
/*
|
||||
* Driver for the Logitech and ATI Inport Bus mice for use with 386bsd and
|
||||
@ -48,8 +48,8 @@
|
||||
#if NMSE > 0
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
@ -45,7 +45,6 @@
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/devconf.h>
|
||||
|
||||
#include <machine/clock.h>
|
||||
|
@ -40,7 +40,6 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/dkstat.h>
|
||||
#include <sys/file.h>
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
|
||||
* $Id: sio.c,v 1.122 1995/11/29 14:39:57 julian Exp $
|
||||
* $Id: sio.c,v 1.123 1995/11/29 15:00:07 bde Exp $
|
||||
*/
|
||||
|
||||
#include "sio.h"
|
||||
@ -51,7 +51,6 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/dkstat.h>
|
||||
#include <sys/file.h>
|
||||
|
@ -131,7 +131,7 @@
|
||||
#include "param.h"
|
||||
#include "systm.h"
|
||||
#include "proc.h"
|
||||
#include "user.h"
|
||||
#include "conf.h"
|
||||
#include "buf.h"
|
||||
#include "kernel.h"
|
||||
#include "ioctl.h"
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
|
||||
* $Id: sio.c,v 1.122 1995/11/29 14:39:57 julian Exp $
|
||||
* $Id: sio.c,v 1.123 1995/11/29 15:00:07 bde Exp $
|
||||
*/
|
||||
|
||||
#include "sio.h"
|
||||
@ -51,7 +51,6 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/dkstat.h>
|
||||
#include <sys/file.h>
|
||||
|
@ -2,7 +2,7 @@
|
||||
* Written by grefen@convex.com (probably moved by now)
|
||||
* Based on scsi drivers by Julian Elischer (julian@tfs.com)
|
||||
*
|
||||
* $Id: ch.c,v 1.23 1995/11/29 10:48:56 julian Exp $
|
||||
* $Id: ch.c,v 1.24 1995/11/29 14:40:54 julian Exp $
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
@ -15,7 +15,6 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/chio.h>
|
||||
#include <sys/malloc.h>
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
* on the understanding that TFS is not responsible for the correct
|
||||
* functioning of this software in any circumstances.
|
||||
*
|
||||
* $Id: st.c,v 1.46 1995/11/29 14:41:04 julian Exp $
|
||||
* $Id: st.c,v 1.47 1995/11/30 07:43:47 pst Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -38,7 +38,6 @@
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/mtio.h>
|
||||
|
||||
#include <scsi/scsi_all.h>
|
||||
|
Loading…
Reference in New Issue
Block a user