summaryrefslogtreecommitdiffstats
path: root/sys/fs/msdosfs
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2007-02-08 02:25:35 +0000
committerrodrigc <rodrigc@FreeBSD.org>2007-02-08 02:25:35 +0000
commit9a7c587caaddd9435daa1a98e9b50182d0de51b1 (patch)
treee806ef48a57635781748412cbe108c086802a18b /sys/fs/msdosfs
parent7038c5de35a55914aa33a5549087ae49459e9851 (diff)
downloadFreeBSD-src-9a7c587caaddd9435daa1a98e9b50182d0de51b1.zip
FreeBSD-src-9a7c587caaddd9435daa1a98e9b50182d0de51b1.tar.gz
Style fixes: use ANSI C function declarations.
Diffstat (limited to 'sys/fs/msdosfs')
-rw-r--r--sys/fs/msdosfs/msdosfs_vfsops.c39
1 files changed, 8 insertions, 31 deletions
diff --git a/sys/fs/msdosfs/msdosfs_vfsops.c b/sys/fs/msdosfs/msdosfs_vfsops.c
index 423d0e5..eb84bbe 100644
--- a/sys/fs/msdosfs/msdosfs_vfsops.c
+++ b/sys/fs/msdosfs/msdosfs_vfsops.c
@@ -118,9 +118,7 @@ static vfs_vptofh_t msdosfs_vptofh;
#define MAXCSLEN 64
static int
-update_mp(mp, td)
- struct mount *mp;
- struct thread *td;
+update_mp(struct mount *mp, struct thread *td)
{
struct msdosfsmount *pmp = VFSTOMSDOSFS(mp);
void *dos, *win, *local;
@@ -392,10 +390,7 @@ msdosfs_mount(struct mount *mp, struct thread *td)
}
static int
-mountmsdosfs(devvp, mp, td)
- struct vnode *devvp;
- struct mount *mp;
- struct thread *td;
+mountmsdosfs(struct vnode *devvp, struct mount *mp, struct thread *td)
{
struct msdosfsmount *pmp;
struct buf *bp;
@@ -752,10 +747,7 @@ error_exit:
* Unmount the filesystem described by mp.
*/
static int
-msdosfs_unmount(mp, mntflags, td)
- struct mount *mp;
- int mntflags;
- struct thread *td;
+msdosfs_unmount(struct mount *mp, int mntflags, struct thread *td)
{
struct msdosfsmount *pmp;
int error, flags;
@@ -820,11 +812,7 @@ msdosfs_unmount(mp, mntflags, td)
}
static int
-msdosfs_root(mp, flags, vpp, td)
- struct mount *mp;
- int flags;
- struct vnode **vpp;
- struct thread *td;
+msdosfs_root(struct mount *mp, int flags, struct vnode **vpp, struct thread *td)
{
struct msdosfsmount *pmp = VFSTOMSDOSFS(mp);
struct denode *ndep;
@@ -841,10 +829,7 @@ msdosfs_root(mp, flags, vpp, td)
}
static int
-msdosfs_statfs(mp, sbp, td)
- struct mount *mp;
- struct statfs *sbp;
- struct thread *td;
+msdosfs_statfs(struct mount *mp, struct statfs *sbp, struct thread *td)
{
struct msdosfsmount *pmp;
@@ -860,10 +845,7 @@ msdosfs_statfs(mp, sbp, td)
}
static int
-msdosfs_sync(mp, waitfor, td)
- struct mount *mp;
- int waitfor;
- struct thread *td;
+msdosfs_sync(struct mount *mp, int waitfor, struct thread *td)
{
struct vnode *vp, *nvp;
struct denode *dep;
@@ -932,10 +914,7 @@ loop:
}
static int
-msdosfs_fhtovp(mp, fhp, vpp)
- struct mount *mp;
- struct fid *fhp;
- struct vnode **vpp;
+msdosfs_fhtovp(struct mount *mp, struct fid *fhp, struct vnode **vpp)
{
struct msdosfsmount *pmp = VFSTOMSDOSFS(mp);
struct defid *defhp = (struct defid *) fhp;
@@ -953,9 +932,7 @@ msdosfs_fhtovp(mp, fhp, vpp)
}
static int
-msdosfs_vptofh(vp, fhp)
- struct vnode *vp;
- struct fid *fhp;
+msdosfs_vptofh(struct vnode *vp, struct fid *fhp)
{
struct denode *dep;
struct defid *defhp;
OpenPOWER on IntegriCloud