aboutsummaryrefslogtreecommitdiff
path: root/sys/fs
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1995-11-16 11:48:10 +0000
committerBruce Evans <bde@FreeBSD.org>1995-11-16 11:48:10 +0000
commitaf482601439a3bc2cbe1864839d89ccdba3e3694 (patch)
treeba2658d41b80a5aa8bee7868c4febe22b5d6ecc8 /sys/fs
parentfcf985ad5d7d968e612ff8676e90d76009fa9e8a (diff)
downloadsrc-af482601439a3bc2cbe1864839d89ccdba3e3694.tar.gz
src-af482601439a3bc2cbe1864839d89ccdba3e3694.zip
Moved declarations for static functions to the correct place (not in a
header) and cleaned them up.
Notes
Notes: svn path=/head/; revision=12338
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/msdosfs/msdosfs_vfsops.c22
-rw-r--r--sys/fs/msdosfs/msdosfsmount.h18
2 files changed, 23 insertions, 17 deletions
diff --git a/sys/fs/msdosfs/msdosfs_vfsops.c b/sys/fs/msdosfs/msdosfs_vfsops.c
index 05e074562058..6c1ed690372e 100644
--- a/sys/fs/msdosfs/msdosfs_vfsops.c
+++ b/sys/fs/msdosfs/msdosfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $Id: msdosfs_vfsops.c,v 1.8 1995/11/07 14:06:44 phk Exp $ */
+/* $Id: msdosfs_vfsops.c,v 1.9 1995/11/07 14:10:19 phk Exp $ */
/* $NetBSD: msdosfs_vfsops.c,v 1.19 1994/08/21 18:44:10 ws Exp $ */
/*-
@@ -69,6 +69,26 @@
static int msdosfsdoforce = 1; /* 1 = force unmount */
+static int mountmsdosfs __P((struct vnode *devvp, struct mount *mp,
+ struct proc *p));
+static int msdosfs_fhtovp __P((struct mount *, struct fid *,
+ struct mbuf *, struct vnode **, int *,
+ struct ucred **));
+static int msdosfs_mount __P((struct mount *, char *, caddr_t,
+ struct nameidata *, struct proc *));
+static int msdosfs_quotactl __P((struct mount *, int, uid_t, caddr_t,
+ struct proc *));
+static int msdosfs_root __P((struct mount *, struct vnode **));
+static int msdosfs_start __P((struct mount *, int, struct proc *));
+static int msdosfs_statfs __P((struct mount *, struct statfs *,
+ struct proc *));
+static int msdosfs_sync __P((struct mount *, int, struct ucred *,
+ struct proc *));
+static int msdosfs_unmount __P((struct mount *, int, struct proc *));
+static int msdosfs_vget __P((struct mount *mp, ino_t ino,
+ struct vnode **vpp));
+static int msdosfs_vptofh __P((struct vnode *, struct fid *));
+
/*
* mp - path - addr in user space of mount point (ie /usr or whatever)
* data - addr in user space of mount params including the name of the block
diff --git a/sys/fs/msdosfs/msdosfsmount.h b/sys/fs/msdosfs/msdosfsmount.h
index 528bdbd8191d..0d485c49e127 100644
--- a/sys/fs/msdosfs/msdosfsmount.h
+++ b/sys/fs/msdosfs/msdosfsmount.h
@@ -1,4 +1,4 @@
-/* $Id: msdosfsmount.h,v 1.3 1995/05/30 08:07:47 rgrimes Exp $ */
+/* $Id: msdosfsmount.h,v 1.4 1995/11/07 14:06:45 phk Exp $ */
/* $NetBSD: msdosfsmount.h,v 1.7 1994/08/21 18:44:17 ws Exp $ */
/*-
@@ -168,18 +168,4 @@ struct msdosfsmount {
#define de_clcount(pmp, size) \
(((size) + (pmp)->pm_bpcluster - 1) >> (pmp)->pm_cnshift)
-/*
- * Prototypes for MSDOSFS virtual filesystem operations
- */
-static int msdosfs_mount __P((struct mount *, char *, caddr_t, struct nameidata *, struct proc *));
-static int msdosfs_start __P((struct mount *, int, struct proc *));
-static int msdosfs_unmount __P((struct mount *, int, struct proc *));
-static int msdosfs_root __P((struct mount *, struct vnode **));
-static int msdosfs_quotactl __P((struct mount *, int, uid_t, caddr_t, struct proc *));
-static int msdosfs_statfs __P((struct mount *, struct statfs *, struct proc *));
-static int msdosfs_sync __P((struct mount *, int, struct ucred *, struct proc *));
-static int msdosfs_fhtovp __P((struct mount *, struct fid *, struct mbuf *, struct vnode **, int *, struct ucred **));
-static int msdosfs_vptofh __P((struct vnode *, struct fid *));
-int msdosfs_init __P(());
-
-static int mountmsdosfs __P((struct vnode *devvp, struct mount *mp, struct proc *p));
+int msdosfs_init __P((void));