diff options
author | 2015-03-14 03:38:46 +0000 | |
---|---|---|
committer | 2015-03-14 03:38:46 +0000 | |
commit | 21dab745d772244ad59a415114e48be2888cfbc8 (patch) | |
tree | 0cf0a65bda8999c8207ac27cc59ed638fb036bb5 /sys/nfs | |
parent | Move the command line options (mainly -d and -v) out of struct bgpd_config (diff) | |
download | wireguard-openbsd-21dab745d772244ad59a415114e48be2888cfbc8.tar.xz wireguard-openbsd-21dab745d772244ad59a415114e48be2888cfbc8.zip |
Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.
ok tedu@ deraadt@
Diffstat (limited to 'sys/nfs')
-rw-r--r-- | sys/nfs/krpc_subr.c | 3 | ||||
-rw-r--r-- | sys/nfs/nfs_bio.c | 3 | ||||
-rw-r--r-- | sys/nfs/nfs_node.c | 3 | ||||
-rw-r--r-- | sys/nfs/nfs_serv.c | 3 | ||||
-rw-r--r-- | sys/nfs/nfs_socket.c | 3 | ||||
-rw-r--r-- | sys/nfs/nfs_srvcache.c | 3 | ||||
-rw-r--r-- | sys/nfs/nfs_subs.c | 3 | ||||
-rw-r--r-- | sys/nfs/nfs_syscalls.c | 3 | ||||
-rw-r--r-- | sys/nfs/nfs_vfsops.c | 3 | ||||
-rw-r--r-- | sys/nfs/nfs_vnops.c | 3 |
10 files changed, 10 insertions, 20 deletions
diff --git a/sys/nfs/krpc_subr.c b/sys/nfs/krpc_subr.c index 7227754e969..e40c006217c 100644 --- a/sys/nfs/krpc_subr.c +++ b/sys/nfs/krpc_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: krpc_subr.c,v 1.25 2014/12/18 20:59:21 tedu Exp $ */ +/* $OpenBSD: krpc_subr.c,v 1.26 2015/03/14 03:38:52 jsg Exp $ */ /* $NetBSD: krpc_subr.c,v 1.12.4.1 1996/06/07 00:52:26 cgd Exp $ */ /* @@ -54,7 +54,6 @@ #include <sys/socket.h> #include <sys/socketvar.h> -#include <net/if.h> #include <netinet/in.h> #include <nfs/rpcv2.h> diff --git a/sys/nfs/nfs_bio.c b/sys/nfs/nfs_bio.c index 458e0d17c30..87b67977c89 100644 --- a/sys/nfs/nfs_bio.c +++ b/sys/nfs/nfs_bio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_bio.c,v 1.79 2015/02/10 21:56:10 miod Exp $ */ +/* $OpenBSD: nfs_bio.c,v 1.80 2015/03/14 03:38:52 jsg Exp $ */ /* $NetBSD: nfs_bio.c,v 1.25.4.2 1996/07/08 20:47:04 jtc Exp $ */ /* @@ -48,7 +48,6 @@ #include <sys/queue.h> #include <sys/time.h> -#include <nfs/rpcv2.h> #include <nfs/nfsproto.h> #include <nfs/nfs.h> #include <nfs/nfsmount.h> diff --git a/sys/nfs/nfs_node.c b/sys/nfs/nfs_node.c index 4d9bbd1d971..f3b59a9241e 100644 --- a/sys/nfs/nfs_node.c +++ b/sys/nfs/nfs_node.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_node.c,v 1.61 2014/12/23 07:54:13 tedu Exp $ */ +/* $OpenBSD: nfs_node.c,v 1.62 2015/03/14 03:38:52 jsg Exp $ */ /* $NetBSD: nfs_node.c,v 1.16 1996/02/18 11:53:42 fvdl Exp $ */ /* @@ -51,7 +51,6 @@ #include <nfs/rpcv2.h> #include <nfs/nfsproto.h> -#include <nfs/nfs.h> #include <nfs/nfsnode.h> #include <nfs/nfsmount.h> #include <nfs/nfs_var.h> diff --git a/sys/nfs/nfs_serv.c b/sys/nfs/nfs_serv.c index 71c33f98795..74d6613c268 100644 --- a/sys/nfs/nfs_serv.c +++ b/sys/nfs/nfs_serv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_serv.c,v 1.101 2014/12/16 18:30:04 tedu Exp $ */ +/* $OpenBSD: nfs_serv.c,v 1.102 2015/03/14 03:38:52 jsg Exp $ */ /* $NetBSD: nfs_serv.c,v 1.34 1997/05/12 23:37:12 fvdl Exp $ */ /* @@ -76,7 +76,6 @@ #include <ufs/ufs/dir.h> #include <nfs/nfsproto.h> -#include <nfs/rpcv2.h> #include <nfs/nfs.h> #include <nfs/xdr_subs.h> #include <nfs/nfsm_subs.h> diff --git a/sys/nfs/nfs_socket.c b/sys/nfs/nfs_socket.c index b412cb47eb9..9edd6154a49 100644 --- a/sys/nfs/nfs_socket.c +++ b/sys/nfs/nfs_socket.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_socket.c,v 1.107 2015/01/17 17:49:27 deraadt Exp $ */ +/* $OpenBSD: nfs_socket.c,v 1.108 2015/03/14 03:38:52 jsg Exp $ */ /* $NetBSD: nfs_socket.c,v 1.27 1996/04/15 20:20:00 thorpej Exp $ */ /* @@ -66,7 +66,6 @@ #include <nfs/xdr_subs.h> #include <nfs/nfsm_subs.h> #include <nfs/nfsmount.h> -#include <nfs/nfsnode.h> #include <nfs/nfs_var.h> /* External data, mostly RPC constants in XDR form. */ diff --git a/sys/nfs/nfs_srvcache.c b/sys/nfs/nfs_srvcache.c index d3ddb77316d..6e4c2d21ef0 100644 --- a/sys/nfs/nfs_srvcache.c +++ b/sys/nfs/nfs_srvcache.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_srvcache.c,v 1.26 2014/11/18 10:42:15 dlg Exp $ */ +/* $OpenBSD: nfs_srvcache.c,v 1.27 2015/03/14 03:38:52 jsg Exp $ */ /* $NetBSD: nfs_srvcache.c,v 1.12 1996/02/18 11:53:49 fvdl Exp $ */ /* @@ -52,7 +52,6 @@ #include <crypto/siphash.h> #include <netinet/in.h> -#include <nfs/rpcv2.h> #include <nfs/nfsproto.h> #include <nfs/nfs.h> #include <nfs/nfsrvcache.h> diff --git a/sys/nfs/nfs_subs.c b/sys/nfs/nfs_subs.c index 447c7e8f5ae..ac27c29b8c0 100644 --- a/sys/nfs/nfs_subs.c +++ b/sys/nfs/nfs_subs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_subs.c,v 1.125 2015/02/10 21:56:10 miod Exp $ */ +/* $OpenBSD: nfs_subs.c,v 1.126 2015/03/14 03:38:52 jsg Exp $ */ /* $NetBSD: nfs_subs.c,v 1.27.4.3 1996/07/08 20:34:24 jtc Exp $ */ /* @@ -53,7 +53,6 @@ #include <sys/stat.h> #include <sys/pool.h> #include <sys/time.h> -#include <sys/specdev.h> #include <nfs/rpcv2.h> #include <nfs/nfsproto.h> diff --git a/sys/nfs/nfs_syscalls.c b/sys/nfs/nfs_syscalls.c index da84ada82ae..2f05d36d9d6 100644 --- a/sys/nfs/nfs_syscalls.c +++ b/sys/nfs/nfs_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_syscalls.c,v 1.98 2014/11/15 00:03:12 tedu Exp $ */ +/* $OpenBSD: nfs_syscalls.c,v 1.99 2015/03/14 03:38:52 jsg Exp $ */ /* $NetBSD: nfs_syscalls.c,v 1.19 1996/02/18 11:53:52 fvdl Exp $ */ /* @@ -67,7 +67,6 @@ #include <nfs/rpcv2.h> #include <nfs/nfsproto.h> #include <nfs/nfs.h> -#include <nfs/nfsm_subs.h> #include <nfs/nfsrvcache.h> #include <nfs/nfsmount.h> #include <nfs/nfsnode.h> diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c index de00884ec92..cb9382da19f 100644 --- a/sys/nfs/nfs_vfsops.c +++ b/sys/nfs/nfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_vfsops.c,v 1.106 2015/01/17 17:49:27 deraadt Exp $ */ +/* $OpenBSD: nfs_vfsops.c,v 1.107 2015/03/14 03:38:52 jsg Exp $ */ /* $NetBSD: nfs_vfsops.c,v 1.46.4.1 1996/05/25 22:40:35 fvdl Exp $ */ /* @@ -55,7 +55,6 @@ #include <sys/sysctl.h> #include <sys/queue.h> -#include <net/if.h> #include <netinet/in.h> #include <nfs/rpcv2.h> diff --git a/sys/nfs/nfs_vnops.c b/sys/nfs/nfs_vnops.c index a16dca17d85..8569053dd79 100644 --- a/sys/nfs/nfs_vnops.c +++ b/sys/nfs/nfs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_vnops.c,v 1.161 2015/02/10 21:56:10 miod Exp $ */ +/* $OpenBSD: nfs_vnops.c,v 1.162 2015/03/14 03:38:52 jsg Exp $ */ /* $NetBSD: nfs_vnops.c,v 1.62.4.1 1996/07/08 20:26:52 jtc Exp $ */ /* @@ -75,7 +75,6 @@ #include <uvm/uvm_extern.h> -#include <net/if.h> #include <netinet/in.h> void nfs_cache_enter(struct vnode *, struct vnode *, struct componentname *); |