diff options
author | phk <phk@FreeBSD.org> | 2005-02-10 12:25:38 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-02-10 12:25:38 +0000 |
commit | 40bcad426bc4106296aeb7d0a207020689e2c85d (patch) | |
tree | 42b6ea663af1eb67822dad33d1b26ba2d9887b8d /sys/kern/vfs_export.c | |
parent | 9fbd4a503d2c65eee428bc41eca086f4966b49c2 (diff) | |
download | FreeBSD-src-40bcad426bc4106296aeb7d0a207020689e2c85d.zip FreeBSD-src-40bcad426bc4106296aeb7d0a207020689e2c85d.tar.gz |
Make various mountpoint related functions static.
Diffstat (limited to 'sys/kern/vfs_export.c')
-rw-r--r-- | sys/kern/vfs_export.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c index 523e0f3..c4dcd77 100644 --- a/sys/kern/vfs_export.c +++ b/sys/kern/vfs_export.c @@ -58,6 +58,7 @@ static void vfs_free_addrlist(struct netexport *nep); static int vfs_free_netcred(struct radix_node *rn, void *w); static int vfs_hang_addrlist(struct mount *mp, struct netexport *nep, struct export_args *argp); +static struct netcred *vfs_export_lookup(struct mount *, struct sockaddr *); /* * Network address lookup element @@ -344,10 +345,8 @@ vfs_setpublicfs(mp, nep, argp) * to struct netcred so that the filesystem can examine it for * access rights (read/write/etc). */ -struct netcred * -vfs_export_lookup(mp, nam) - register struct mount *mp; - struct sockaddr *nam; +static struct netcred * +vfs_export_lookup(struct mount *mp, struct sockaddr *nam) { struct netexport *nep; register struct netcred *np; |