diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2008-12-27 14:14:31 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2008-12-27 14:14:31 +0000 |
commit | b7294fedf4b7c7d03bc38a7ec9d85ad70384d60c (patch) | |
tree | d966cae19fc8a0aa3ad33b0bea2c497f4ada3a53 | |
parent | 6dfad639a3facdd555b2f58b7a7fb6de25a03c85 (diff) |
expand the ifdef _KERNEL around kernel only function prototypes
since they have no business being export to userland.
OK blambert@
-rw-r--r-- | sys/nfs/nfsmount.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/sys/nfs/nfsmount.h b/sys/nfs/nfsmount.h index 99539e253e5..84031e7c388 100644 --- a/sys/nfs/nfsmount.h +++ b/sys/nfs/nfsmount.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nfsmount.h,v 1.17 2008/12/24 14:34:03 thib Exp $ */ +/* $OpenBSD: nfsmount.h,v 1.18 2008/12/27 14:14:30 thib Exp $ */ /* $NetBSD: nfsmount.h,v 1.10 1996/02/18 11:54:03 fvdl Exp $ */ /* @@ -75,15 +75,11 @@ struct nfsmount { }; #ifdef _KERNEL -/* - * Convert mount ptr to nfsmount ptr. - */ + +/* Convert mount ptr to nfsmount ptr: */ #define VFSTONFS(mp) ((struct nfsmount *)((mp)->mnt_data)) -#endif /* _KERNEL */ -/* - * Prototypes for NFS mount operations - */ +/* Prototypes for NFS mount operations: */ int nfs_mount(struct mount *, const char *, void *, struct nameidata *, struct proc *); int mountnfs(struct nfs_args *, struct mount *, struct mbuf *, char *, @@ -104,4 +100,6 @@ int nfs_fsinfo(struct nfsmount *, struct vnode *, struct ucred *, struct proc *); void nfs_init(void); +#endif /* _KERNEL */ + #endif |