diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-06-12 19:25:28 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-06-12 19:25:28 +0000 |
commit | 649c92aa08863c7e91d2f9aefc3f71b9c9e3bfaf (patch) | |
tree | a879e7dc76cd20e0d09a893264850b3721ff1ce1 /sys/nfs/nfs_vfsops.c | |
parent | 9764a020e5e811754bd7744aea5845104d68a822 (diff) |
remove some unused externs;
smallish cleanup (move prototypes and externs togather).
ok toby@
Diffstat (limited to 'sys/nfs/nfs_vfsops.c')
-rw-r--r-- | sys/nfs/nfs_vfsops.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c index 44e3cf4529d..177fbaafa38 100644 --- a/sys/nfs/nfs_vfsops.c +++ b/sys/nfs/nfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_vfsops.c,v 1.63 2007/04/12 13:24:39 thib Exp $ */ +/* $OpenBSD: nfs_vfsops.c,v 1.64 2007/06/12 19:25:27 thib Exp $ */ /* $NetBSD: nfs_vfsops.c,v 1.46.4.1 1996/05/25 22:40:35 fvdl Exp $ */ /* @@ -70,10 +70,11 @@ extern struct nfsstats nfsstats; extern int nfs_ticks; +extern u_int32_t nfs_procids[NFS_NPROCS]; -int nfs_sysctl(int *, u_int, void *, size_t *, void *, size_t, struct proc *); -int nfs_checkexp(struct mount *mp, struct mbuf *nam, - int *extflagsp, struct ucred **credanonp); +int nfs_sysctl(int *, u_int, void *, size_t *, void *, size_t, struct proc *); +int nfs_checkexp(struct mount *, struct mbuf *, int *, struct ucred **); +struct mount *nfs_mount_diskless(struct nfs_dlmount *, char *, int); /* * nfs vfs operations. @@ -94,11 +95,6 @@ const struct vfsops nfs_vfsops = { nfs_checkexp }; -extern u_int32_t nfs_procids[NFS_NPROCS]; -extern u_int32_t nfs_prog, nfs_vers; - -struct mount *nfs_mount_diskless(struct nfs_dlmount *, char *, int); - #define TRUE 1 #define FALSE 0 @@ -801,8 +797,6 @@ nfs_root(mp, vpp) return (0); } -extern int syncprt; - /* * Flush out the buffer cache */ |