summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2006-12-16 12:06:59 +0000
committerrodrigc <rodrigc@FreeBSD.org>2006-12-16 12:06:59 +0000
commit2aade96a5955d6d7a9c97d69d17070d528806cad (patch)
treeb0529b8e2027a257d4dc51cb2abe0f5d8ca13c30
parent4d1fe0d4258ab77e3ac80848b6209a996f1f3c57 (diff)
downloadFreeBSD-src-2aade96a5955d6d7a9c97d69d17070d528806cad.zip
FreeBSD-src-2aade96a5955d6d7a9c97d69d17070d528806cad.tar.gz
Convert to ANSI-style function prototypes.
-rw-r--r--sys/kern/vfs_export.c30
1 files changed, 9 insertions, 21 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c
index ea3db60..a454bb8 100644
--- a/sys/kern/vfs_export.c
+++ b/sys/kern/vfs_export.c
@@ -83,10 +83,8 @@ struct netexport {
* Called by ufs_mount() to set up the lists of export addresses.
*/
static int
-vfs_hang_addrlist(mp, nep, argp)
- struct mount *mp;
- struct netexport *nep;
- struct export_args *argp;
+vfs_hang_addrlist(struct mount *mp, struct netexport *nep,
+ struct export_args *argp)
{
register struct netcred *np;
register struct radix_node_head *rnh;
@@ -194,9 +192,7 @@ out:
/* Helper for vfs_free_addrlist. */
/* ARGSUSED */
static int
-vfs_free_netcred(rn, w)
- struct radix_node *rn;
- void *w;
+vfs_free_netcred(struct radix_node *rn, void *w)
{
register struct radix_node_head *rnh = (struct radix_node_head *) w;
@@ -209,8 +205,7 @@ vfs_free_netcred(rn, w)
* Free the net address hash lists that are hanging off the mount points.
*/
static void
-vfs_free_addrlist(nep)
- struct netexport *nep;
+vfs_free_addrlist(struct netexport *nep)
{
register int i;
register struct radix_node_head *rnh;
@@ -232,9 +227,7 @@ vfs_free_addrlist(nep)
* the structure is described in sys/mount.h
*/
int
-vfs_export(mp, argp)
- struct mount *mp;
- struct export_args *argp;
+vfs_export(struct mount *mp, struct export_args *argp)
{
struct netexport *nep;
int error;
@@ -283,10 +276,8 @@ vfs_export(mp, argp)
* one public filesystem is possible in the spec (RFC 2054 and 2055)
*/
int
-vfs_setpublicfs(mp, nep, argp)
- struct mount *mp;
- struct netexport *nep;
- struct export_args *argp;
+vfs_setpublicfs(struct mount *mp, struct netexport *nep,
+ struct export_args *argp)
{
int error;
struct vnode *rvp;
@@ -411,11 +402,8 @@ vfs_export_lookup(struct mount *mp, struct sockaddr *nam)
*/
int
-vfs_stdcheckexp(mp, nam, extflagsp, credanonp)
- struct mount *mp;
- struct sockaddr *nam;
- int *extflagsp;
- struct ucred **credanonp;
+vfs_stdcheckexp(struct mount *mp, struct sockaddr *nam, int *extflagsp,
+ struct ucred **credanonp)
{
struct netcred *np;
OpenPOWER on IntegriCloud