Don't need to include <uvm/uvm_extern.h> just to include <sys/sysctl.h>

anymore.
This commit is contained in:
simonb 2001-10-29 07:02:30 +00:00
parent d1270f6de8
commit 5f717f7c33
16 changed files with 23 additions and 58 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_xxx.c,v 1.45 2000/11/21 00:37:56 jdolecek Exp $ */
/* $NetBSD: kern_xxx.c,v 1.46 2001/10/29 07:02:30 simonb Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@ -42,7 +42,6 @@
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/reboot.h>
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
#include <sys/mount.h>
#include <sys/syscallargs.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: subr_prof.c,v 1.23 2001/04/28 12:56:00 bjh21 Exp $ */
/* $NetBSD: subr_prof.c,v 1.24 2001/10/29 07:02:30 simonb Exp $ */
/*-
* Copyright (c) 1982, 1986, 1993
@ -42,7 +42,6 @@
#include <sys/user.h>
#include <sys/mount.h>
#include <sys/syscallargs.h>
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
#include <machine/cpu.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: uipc_domain.c,v 1.34 2001/02/11 06:38:46 itojun Exp $ */
/* $NetBSD: uipc_domain.c,v 1.35 2001/10/29 07:02:30 simonb Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
@ -54,7 +54,6 @@
#include <sys/systm.h>
#include <sys/callout.h>
#include <sys/proc.h>
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
void pffasttimo __P((void *));

View File

@ -1,4 +1,4 @@
/* $NetBSD: uipc_mbuf.c,v 1.54 2001/09/15 20:36:37 chs Exp $ */
/* $NetBSD: uipc_mbuf.c,v 1.55 2001/10/29 07:02:31 simonb Exp $ */
/*-
* Copyright (c) 1999, 2001 The NetBSD Foundation, Inc.
@ -85,11 +85,12 @@
#include <sys/protosw.h>
#include <sys/pool.h>
#include <sys/socket.h>
#include <sys/sysctl.h>
#include <net/if.h>
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
struct pool mbpool; /* mbuf pool */
struct pool mclpool; /* mbuf cluster pool */

View File

@ -1,4 +1,4 @@
/* $NetBSD: vfs_syscalls.c,v 1.171 2001/10/11 16:27:24 christos Exp $ */
/* $NetBSD: vfs_syscalls.c,v 1.172 2001/10/29 07:02:31 simonb Exp $ */
/*
* Copyright (c) 1989, 1993
@ -56,15 +56,12 @@
#include <sys/uio.h>
#include <sys/malloc.h>
#include <sys/dirent.h>
#include <sys/sysctl.h>
#include <sys/syscallargs.h>
#include <miscfs/genfs/genfs.h>
#include <miscfs/syncfs/syncfs.h>
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
static int change_dir __P((struct nameidata *, struct proc *));
static int change_flags __P((struct vnode *, u_long, struct proc *));
static int change_mode __P((struct vnode *, int, struct proc *p));

View File

@ -1,4 +1,4 @@
/* $NetBSD: rtsock.c,v 1.51 2001/09/16 16:34:39 wiz Exp $ */
/* $NetBSD: rtsock.c,v 1.52 2001/10/29 07:02:32 simonb Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@ -74,9 +74,6 @@
#include <sys/socketvar.h>
#include <sys/domain.h>
#include <sys/protosw.h>
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
#include <net/if.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ip_flow.c,v 1.20 2001/09/17 17:27:00 thorpej Exp $ */
/* $NetBSD: ip_flow.c,v 1.21 2001/10/29 07:02:33 simonb Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -47,11 +47,7 @@
#include <sys/errno.h>
#include <sys/time.h>
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/pool.h>
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
#include <net/if.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ip_icmp.c,v 1.61 2001/10/20 03:18:17 matt Exp $ */
/* $NetBSD: ip_icmp.c,v 1.62 2001/10/29 07:02:33 simonb Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@ -114,10 +114,6 @@
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/kernel.h>
#include <sys/proc.h>
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
#include <net/if.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ip_input.c,v 1.137 2001/09/17 17:27:00 thorpej Exp $ */
/* $NetBSD: ip_input.c,v 1.138 2001/10/29 07:02:33 simonb Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@ -118,11 +118,7 @@
#include <sys/errno.h>
#include <sys/time.h>
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/pool.h>
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
#include <net/if.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: tcp_usrreq.c,v 1.65 2001/09/10 20:15:14 thorpej Exp $ */
/* $NetBSD: tcp_usrreq.c,v 1.66 2001/10/29 07:02:34 simonb Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@ -116,10 +116,7 @@
#include <sys/errno.h>
#include <sys/stat.h>
#include <sys/proc.h>
#include <sys/ucred.h>
#include <sys/domain.h>
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
#include <net/if.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: udp_usrreq.c,v 1.86 2001/10/24 06:04:08 itojun Exp $ */
/* $NetBSD: udp_usrreq.c,v 1.87 2001/10/29 07:02:34 simonb Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@ -80,8 +80,6 @@
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/domain.h>
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
#include <net/if.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: icmp6.c,v 1.69 2001/10/24 06:36:37 itojun Exp $ */
/* $NetBSD: icmp6.c,v 1.70 2001/10/29 07:02:34 simonb Exp $ */
/* $KAME: icmp6.c,v 1.217 2001/06/20 15:03:29 jinmei Exp $ */
/*
@ -79,6 +79,7 @@
#include <sys/kernel.h>
#include <sys/syslog.h>
#include <sys/domain.h>
#include <sys/sysctl.h>
#include <net/if.h>
#include <net/route.h>
@ -2916,9 +2917,6 @@ icmp6_redirect_timeout(rt, r)
}
}
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
int
icmp6_sysctl(name, namelen, oldp, oldlenp, newp, newlen)
int *name;

View File

@ -1,4 +1,4 @@
/* $NetBSD: ip6_input.c,v 1.45 2001/10/24 06:36:38 itojun Exp $ */
/* $NetBSD: ip6_input.c,v 1.46 2001/10/29 07:02:35 simonb Exp $ */
/* $KAME: ip6_input.c,v 1.188 2001/03/29 05:34:31 itojun Exp $ */
/*
@ -82,6 +82,7 @@
#include <sys/kernel.h>
#include <sys/syslog.h>
#include <sys/proc.h>
#include <sys/sysctl.h>
#include <net/if.h>
#include <net/if_types.h>
@ -1390,9 +1391,6 @@ u_char inet6ctlerrmap[PRC_NCMDS] = {
ENOPROTOOPT
};
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
int
ip6_sysctl(name, namelen, oldp, oldlenp, newp, newlen)
int *name;

View File

@ -1,4 +1,4 @@
/* $NetBSD: ipsec.c,v 1.40 2001/10/16 06:24:44 itojun Exp $ */
/* $NetBSD: ipsec.c,v 1.41 2001/10/29 07:02:35 simonb Exp $ */
/* $KAME: ipsec.c,v 1.125 2001/09/12 23:01:16 sakane Exp $ */
/*
@ -49,9 +49,7 @@
#include <sys/time.h>
#include <sys/kernel.h>
#include <sys/syslog.h>
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
#include <sys/proc.h>
#include <net/if.h>
#include <net/route.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: udp6_usrreq.c,v 1.49 2001/10/24 06:36:39 itojun Exp $ */
/* $NetBSD: udp6_usrreq.c,v 1.50 2001/10/29 07:02:36 simonb Exp $ */
/* $KAME: udp6_usrreq.c,v 1.86 2001/05/27 17:33:00 itojun Exp $ */
/*
@ -78,6 +78,7 @@
#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/syslog.h>
#include <sys/sysctl.h>
#include <net/if.h>
#include <net/route.h>
@ -433,9 +434,6 @@ udp6_detach(in6p)
splx(s);
}
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
int
udp6_sysctl(name, namelen, oldp, oldlenp, newp, newlen)
int *name;

View File

@ -1,4 +1,4 @@
/* $NetBSD: key.c,v 1.52 2001/10/19 01:57:20 itojun Exp $ */
/* $NetBSD: key.c,v 1.53 2001/10/29 07:02:36 simonb Exp $ */
/* $KAME: key.c,v 1.203 2001/07/28 03:12:18 itojun Exp $ */
/*
@ -55,6 +55,7 @@
#include <sys/errno.h>
#include <sys/proc.h>
#include <sys/queue.h>
#include <sys/sysctl.h>
#include <net/if.h>
#include <net/route.h>
@ -7396,9 +7397,6 @@ key_alloc_mbuf(l)
return m;
}
#include <uvm/uvm_extern.h>
#include <sys/sysctl.h>
int
key_sysctl(name, namelen, oldp, oldlenp, newp, newlen)
int *name;