summaryrefslogtreecommitdiff
path: root/sys/msdosfs/msdosfs_vnops.c
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2009-08-13 22:34:30 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2009-08-13 22:34:30 +0000
commit8c17fea5311ee81028e3d42e9020254ac71cbf29 (patch)
tree2b555446c315cb9e9b152cd3e30a5f6f0220fc02 /sys/msdosfs/msdosfs_vnops.c
parent9cdf8d176076b8aac19fce68982e2004b633f46b (diff)
- ansify function declarations, no binary change
"fine" thib@
Diffstat (limited to 'sys/msdosfs/msdosfs_vnops.c')
-rw-r--r--sys/msdosfs/msdosfs_vnops.c86
1 files changed, 29 insertions, 57 deletions
diff --git a/sys/msdosfs/msdosfs_vnops.c b/sys/msdosfs/msdosfs_vnops.c
index cdcc986ba06..b9302c98265 100644
--- a/sys/msdosfs/msdosfs_vnops.c
+++ b/sys/msdosfs/msdosfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msdosfs_vnops.c,v 1.70 2009/08/13 15:00:14 jasper Exp $ */
+/* $OpenBSD: msdosfs_vnops.c,v 1.71 2009/08/13 22:34:29 jasper Exp $ */
/* $NetBSD: msdosfs_vnops.c,v 1.63 1997/10/17 11:24:19 ws Exp $ */
/*-
@@ -103,8 +103,7 @@ static uint32_t fileidhash(uint64_t);
* only if the SAVESTART bit in cn_flags is clear on success.
*/
int
-msdosfs_create(v)
- void *v;
+msdosfs_create(void *v)
{
struct vop_create_args *ap = v;
struct componentname *cnp = ap->a_cnp;
@@ -168,8 +167,7 @@ bad:
}
int
-msdosfs_mknod(v)
- void *v;
+msdosfs_mknod(void *v)
{
struct vop_mknod_args *ap = v;
@@ -179,8 +177,7 @@ msdosfs_mknod(v)
}
int
-msdosfs_open(v)
- void *v;
+msdosfs_open(void *v)
{
#if 0
struct vop_open_args /* {
@@ -195,8 +192,7 @@ msdosfs_open(v)
}
int
-msdosfs_close(v)
- void *v;
+msdosfs_close(void *v)
{
struct vop_close_args *ap = v;
struct vnode *vp = ap->a_vp;
@@ -211,8 +207,7 @@ msdosfs_close(v)
}
int
-msdosfs_access(v)
- void *v;
+msdosfs_access(void *v)
{
struct vop_access_args *ap = v;
struct denode *dep = VTODE(ap->a_vp);
@@ -235,8 +230,7 @@ msdosfs_access(v)
}
int
-msdosfs_getattr(v)
- void *v;
+msdosfs_getattr(void *v)
{
struct vop_getattr_args *ap = v;
struct denode *dep = VTODE(ap->a_vp);
@@ -337,8 +331,7 @@ msdosfs_getattr(v)
}
int
-msdosfs_setattr(v)
- void *v;
+msdosfs_setattr(void *v)
{
struct vop_setattr_args *ap = v;
int error = 0;
@@ -424,8 +417,7 @@ msdosfs_setattr(v)
}
int
-msdosfs_read(v)
- void *v;
+msdosfs_read(void *v)
{
struct vop_read_args *ap = v;
int error = 0;
@@ -510,8 +502,7 @@ msdosfs_read(v)
* Write data to a file or directory.
*/
int
-msdosfs_write(v)
- void *v;
+msdosfs_write(void *v)
{
struct vop_write_args *ap = v;
int n;
@@ -701,8 +692,7 @@ errexit:
}
int
-msdosfs_ioctl(v)
- void *v;
+msdosfs_ioctl(void *v)
{
#if 0
struct vop_ioctl_args /* {
@@ -719,8 +709,7 @@ msdosfs_ioctl(v)
}
int
-msdosfs_poll(v)
- void *v;
+msdosfs_poll(void *v)
{
struct vop_poll_args *ap = v;
@@ -734,8 +723,7 @@ msdosfs_poll(v)
* could just do a sync if they try an fsync on a directory file.
*/
int
-msdosfs_fsync(v)
- void *v;
+msdosfs_fsync(void *v)
{
struct vop_fsync_args *ap = v;
struct vnode *vp = ap->a_vp;
@@ -751,8 +739,7 @@ msdosfs_fsync(v)
* could just do a sync if they try an fsync on a directory file.
*/
int
-msdosfs_remove(v)
- void *v;
+msdosfs_remove(void *v)
{
struct vop_remove_args *ap = v;
struct denode *dep = VTODE(ap->a_vp);
@@ -781,8 +768,7 @@ msdosfs_remove(v)
* have to free it before we return the error.
*/
int
-msdosfs_link(v)
- void *v;
+msdosfs_link(void *v)
{
struct vop_link_args *ap = v;
@@ -845,8 +831,7 @@ msdosfs_link(v)
* for each rename done.
*/
int
-msdosfs_rename(v)
- void *v;
+msdosfs_rename(void *v)
{
struct vop_rename_args *ap = v;
struct vnode *tvp = ap->a_tvp;
@@ -1182,8 +1167,7 @@ struct {
};
int
-msdosfs_mkdir(v)
- void *v;
+msdosfs_mkdir(void *v)
{
struct vop_mkdir_args *ap = v;
struct componentname *cnp = ap->a_cnp;
@@ -1292,8 +1276,7 @@ bad2:
}
int
-msdosfs_rmdir(v)
- void *v;
+msdosfs_rmdir(void *v)
{
struct vop_rmdir_args *ap = v;
register struct vnode *vp = ap->a_vp;
@@ -1358,8 +1341,7 @@ out:
* DOS filesystems don't know what symlinks are.
*/
int
-msdosfs_symlink(v)
- void *v;
+msdosfs_symlink(void *v)
{
struct vop_symlink_args *ap = v;
@@ -1369,8 +1351,7 @@ msdosfs_symlink(v)
}
int
-msdosfs_readdir(v)
- void *v;
+msdosfs_readdir(void *v)
{
struct vop_readdir_args *ap = v;
int error = 0;
@@ -1642,8 +1623,7 @@ out:
* DOS filesystems don't know what symlinks are.
*/
int
-msdosfs_readlink(v)
- void *v;
+msdosfs_readlink(void *v)
{
#if 0
struct vop_readlink_args /* {
@@ -1657,8 +1637,7 @@ msdosfs_readlink(v)
}
int
-msdosfs_lock(v)
- void *v;
+msdosfs_lock(void *v)
{
struct vop_lock_args *ap = v;
struct vnode *vp = ap->a_vp;
@@ -1667,8 +1646,7 @@ msdosfs_lock(v)
}
int
-msdosfs_unlock(v)
- void *v;
+msdosfs_unlock(void *v)
{
struct vop_unlock_args *ap = v;
struct vnode *vp = ap->a_vp;
@@ -1677,8 +1655,7 @@ msdosfs_unlock(v)
}
int
-msdosfs_islocked(v)
- void *v;
+msdosfs_islocked(void *v)
{
struct vop_islocked_args *ap = v;
@@ -1693,8 +1670,7 @@ msdosfs_islocked(v)
* bnp - address of where to return the filesystem relative block number
*/
int
-msdosfs_bmap(v)
- void *v;
+msdosfs_bmap(void *v)
{
struct vop_bmap_args *ap = v;
struct denode *dep = VTODE(ap->a_vp);
@@ -1714,8 +1690,7 @@ msdosfs_bmap(v)
}
int
-msdosfs_strategy(v)
- void *v;
+msdosfs_strategy(void *v)
{
struct vop_strategy_args *ap = v;
struct buf *bp = ap->a_bp;
@@ -1759,8 +1734,7 @@ msdosfs_strategy(v)
}
int
-msdosfs_print(v)
- void *v;
+msdosfs_print(void *v)
{
struct vop_print_args *ap = v;
struct denode *dep = VTODE(ap->a_vp);
@@ -1780,8 +1754,7 @@ msdosfs_print(v)
}
int
-msdosfs_advlock(v)
- void *v;
+msdosfs_advlock(void *v)
{
struct vop_advlock_args *ap = v;
register struct denode *dep = VTODE(ap->a_vp);
@@ -1791,8 +1764,7 @@ msdosfs_advlock(v)
}
int
-msdosfs_pathconf(v)
- void *v;
+msdosfs_pathconf(void *v)
{
struct vop_pathconf_args *ap = v;
struct msdosfsmount *pmp = VTODE(ap->a_vp)->de_pmp;