summaryrefslogtreecommitdiffstats
path: root/sys/fs/coda
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-01-21 19:51:47 +0000
committerrwatson <rwatson@FreeBSD.org>2006-01-21 19:51:47 +0000
commit56bc8d8e3332fb0babad93634344b7cf57024d4f (patch)
tree671a5a3a386eecfb18feff0032ce93d193145a02 /sys/fs/coda
parentf04c2fbb7d0d318d5909779a7923fc936892e9cf (diff)
downloadFreeBSD-src-56bc8d8e3332fb0babad93634344b7cf57024d4f.zip
FreeBSD-src-56bc8d8e3332fb0babad93634344b7cf57024d4f.tar.gz
Convert last four functions in coda_vnops.c to ANSI C function
declarations. I knew I would get to fix something in Coda eventually. MFC after: 1 week
Diffstat (limited to 'sys/fs/coda')
-rw-r--r--sys/fs/coda/coda_vnops.c20
1 files changed, 6 insertions, 14 deletions
diff --git a/sys/fs/coda/coda_vnops.c b/sys/fs/coda/coda_vnops.c
index a6f6e1a..94d95d9 100644
--- a/sys/fs/coda/coda_vnops.c
+++ b/sys/fs/coda/coda_vnops.c
@@ -345,13 +345,8 @@ coda_write(struct vop_write_args *ap)
}
int
-coda_rdwr(vp, uiop, rw, ioflag, cred, td)
- struct vnode *vp;
- struct uio *uiop;
- enum uio_rw rw;
- int ioflag;
- struct ucred *cred;
- struct thread *td;
+coda_rdwr(struct vnode *vp, struct uio *uiop, enum uio_rw rw, int ioflag,
+ struct ucred *cred, struct thread *td)
{
/* upcall decl */
/* NOTE: container file operation!!! */
@@ -1710,8 +1705,7 @@ coda_grab_vnode(struct cdev *dev, ino_t ino, struct vnode **vpp)
}
void
-print_vattr( attr )
- struct vattr *attr;
+print_vattr(struct vattr *attr)
{
char *typestr;
@@ -1769,8 +1763,7 @@ print_vattr( attr )
/* How to print a ucred */
void
-print_cred(cred)
- struct ucred *cred;
+print_cred(struct ucred *cred)
{
int i;
@@ -1792,8 +1785,7 @@ print_cred(cred)
* table when coda_inactive calls coda_unsave.
*/
struct cnode *
-make_coda_node(fid, vfsp, type)
- CodaFid *fid; struct mount *vfsp; short type;
+make_coda_node(CodaFid *fid, struct mount *vfsp, short type)
{
struct cnode *cp;
int err;
@@ -1821,7 +1813,7 @@ make_coda_node(fid, vfsp, type)
}
int
-coda_pathconf( struct vop_pathconf_args *ap)
+coda_pathconf(struct vop_pathconf_args *ap)
{
int error;
register_t *retval;
OpenPOWER on IntegriCloud