untangle some includes and clean up for compilation cleanliness.
This commit is contained in:
parent
d1d5787ce4
commit
1c3f382986
@ -38,6 +38,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/errno.h>
|
||||
@ -53,9 +54,7 @@
|
||||
#include <vm/vm_param.h>
|
||||
#include <vm/pmap.h>
|
||||
#include <vm/vm_map.h>
|
||||
#define _KERNEL /* Avoid userland compatability headers */
|
||||
#include <sys/user.h>
|
||||
#undef _KERNEL
|
||||
#include <net/if.h>
|
||||
#include <netinet/in.h>
|
||||
#include <nfs/nfsv2.h>
|
||||
@ -64,7 +63,6 @@
|
||||
#include <nfs/nfsdiskless.h>
|
||||
|
||||
int main __P((void));
|
||||
int printf __P((const char *, ...));
|
||||
|
||||
#define BIG(val) ((val) > 999LL || (val) < -999LL)
|
||||
|
||||
|
@ -38,6 +38,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/errno.h>
|
||||
@ -53,9 +54,7 @@
|
||||
#include <vm/vm_param.h>
|
||||
#include <vm/pmap.h>
|
||||
#include <vm/vm_map.h>
|
||||
#define _KERNEL /* Avoid userland compatability headers */
|
||||
#include <sys/user.h>
|
||||
#undef _KERNEL
|
||||
#include <net/if.h>
|
||||
#include <netinet/in.h>
|
||||
#include <nfs/nfsv2.h>
|
||||
@ -64,7 +63,6 @@
|
||||
#include <nfs/nfsdiskless.h>
|
||||
|
||||
int main __P((void));
|
||||
int printf __P((const char *, ...));
|
||||
|
||||
#define BIG(val) ((val) > 999LL || (val) < -999LL)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user