Cleanup include file usage: Avoid user space headers, use
<sys/types.h> instead of <sys/param.h> where possible.
This commit is contained in:
parent
d6a6f815ee
commit
6b02672ee8
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue