diff options
author | bde <bde@FreeBSD.org> | 1997-09-16 11:44:05 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-09-16 11:44:05 +0000 |
commit | 1062c10a868b291bcfcaf2a5ea696b6bbb4acb37 (patch) | |
tree | 37bc59ea4c26e9d866a3f3244c74112939310f2f /sys/kern/vfs_export.c | |
parent | 6c065dd935eff75e7367acf23ae84cc3251a00a9 (diff) | |
download | FreeBSD-src-1062c10a868b291bcfcaf2a5ea696b6bbb4acb37.zip FreeBSD-src-1062c10a868b291bcfcaf2a5ea696b6bbb4acb37.tar.gz |
Fixed gratuitous ANSIisms.
Diffstat (limited to 'sys/kern/vfs_export.c')
-rw-r--r-- | sys/kern/vfs_export.c | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c index 8a2d1b5..810cc59 100644 --- a/sys/kern/vfs_export.c +++ b/sys/kern/vfs_export.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95 - * $Id: vfs_subr.c,v 1.102 1997/09/13 15:02:28 peter Exp $ + * $Id: vfs_subr.c,v 1.103 1997/09/14 02:49:06 peter Exp $ */ /* @@ -231,10 +231,10 @@ vfs_rootmountalloc(fstypename, devname, mpp) */ #ifdef notdef /* XXX JH */ int -lite2_vfs_mountroot(void) +lite2_vfs_mountroot() { struct vfsconf *vfsp; - extern int (*lite2_mountroot)(void); + extern int (*lite2_mountroot) __P((void)); int error; if (lite2_mountroot != NULL) @@ -1281,7 +1281,10 @@ loop: * Disassociate the underlying file system from a vnode. */ static void -vclean(struct vnode *vp, int flags, struct proc *p) +vclean(vp, flags, p) + struct vnode *vp; + int flags; + struct proc *p; { int active, irefed; vm_object_t object; @@ -1940,8 +1943,10 @@ vfs_unmountall() * Called by ufs_mount() to set up the lists of export addresses. */ static int -vfs_hang_addrlist(struct mount *mp, struct netexport *nep, - struct export_args *argp) +vfs_hang_addrlist(mp, nep, argp) + struct mount *mp; + struct netexport *nep; + struct export_args *argp; { register struct netcred *np; register struct radix_node_head *rnh; @@ -2011,7 +2016,9 @@ out: /* ARGSUSED */ static int -vfs_free_netcred(struct radix_node *rn, void *w) +vfs_free_netcred(rn, w) + struct radix_node *rn; + void *w; { register struct radix_node_head *rnh = (struct radix_node_head *) w; @@ -2024,7 +2031,8 @@ vfs_free_netcred(struct radix_node *rn, void *w) * Free the net address hash lists that are hanging off the mount points. */ static void -vfs_free_addrlist(struct netexport *nep) +vfs_free_addrlist(nep) + struct netexport *nep; { register int i; register struct radix_node_head *rnh; |