Cleanup include file usage: Avoid user space headers, use

<sys/types.h> instead of <sys/param.h> where possible.
This commit is contained in:
drochner 1997-07-15 12:45:22 +00:00
parent d6a6f815ee
commit 6b02672ee8
5 changed files with 14 additions and 11 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: devopen.c,v 1.3 1997/07/04 10:52:44 drochner Exp $ */
/* $NetBSD: devopen.c,v 1.4 1997/07/15 12:45:26 drochner Exp $ */
/*
* Copyright (c) 1996, 1997
@ -32,7 +32,7 @@
*/
#include <sys/param.h>
#include <sys/types.h>
#ifdef COMPAT_OLDBOOT
#include <sys/disklabel.h>
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: netif_small.c,v 1.2 1997/03/20 16:15:15 is Exp $ */
/* $NetBSD: netif_small.c,v 1.3 1997/07/15 12:45:25 drochner Exp $ */
/* minimal netif - for boot ROMs we don't have to select between
several interfaces, and we have to save space
@ -36,10 +36,13 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/param.h>
#include <sys/types.h>
#include <sys/socket.h>
#ifdef _STANDALONE
#include <lib/libkern/libkern.h>
#else
#include <string.h>
#include <time.h>
#endif
#include <net/if.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: nfswrapper.c,v 1.3 1997/06/13 13:36:10 drochner Exp $ */
/* $NetBSD: nfswrapper.c,v 1.4 1997/07/15 12:45:24 drochner Exp $ */
/*
* Copyright (c) 1996
@ -40,7 +40,7 @@
* - path to mount in globel rootpath
*/
#include <sys/param.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: dev_net.c,v 1.4 1997/06/13 13:28:19 drochner Exp $ */
/* $NetBSD: dev_net.c,v 1.5 1997/07/15 12:45:23 drochner Exp $ */
/*
* Copyright (c) 1995 Gordon W. Ross
@ -37,7 +37,7 @@
* supports BOOTP, RARP and BOOTPARAM
*/
#include <sys/param.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <net/if.h>
#include <netinet/in.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: devopen.c,v 1.2 1997/03/22 09:18:10 thorpej Exp $ */
/* $NetBSD: devopen.c,v 1.3 1997/07/15 12:45:22 drochner Exp $ */
/*
* Copyright (c) 1996
@ -36,7 +36,7 @@
* bootfile from tftp overrides! TODO: pass (net) device to net_open
*/
#include <sys/param.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>