summaryrefslogtreecommitdiff
path: root/sys/kern/vnode_if.src
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2003-07-21 22:44:51 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2003-07-21 22:44:51 +0000
commitdf166500c6be14954927b1a75859971830259a91 (patch)
tree8b42ff5a5c7e64f444c80e19f4bead5bcf6c22ae /sys/kern/vnode_if.src
parent0169217f25a8423bc6243b9a9dfc0702c793ef6e (diff)
remove caddr_t casts. it's just silly to cast something when the function
takes a void *. convert uiomove to take a void * as well. ok deraadt@
Diffstat (limited to 'sys/kern/vnode_if.src')
-rw-r--r--sys/kern/vnode_if.src6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vnode_if.src b/sys/kern/vnode_if.src
index 220eb4b0fb0..8b8c002574e 100644
--- a/sys/kern/vnode_if.src
+++ b/sys/kern/vnode_if.src
@@ -1,4 +1,4 @@
-# $OpenBSD: vnode_if.src,v 1.21 2003/06/02 23:28:07 millert Exp $
+# $OpenBSD: vnode_if.src,v 1.22 2003/07/21 22:44:50 tedu Exp $
# $NetBSD: vnode_if.src,v 1.10 1996/05/11 18:26:27 mycroft Exp $
#
# Copyright (c) 1992, 1993
@@ -203,7 +203,7 @@ vop_lease {
vop_ioctl {
IN struct vnode *vp;
IN u_long command;
- IN caddr_t data;
+ IN void *data;
IN int fflag;
IN struct ucred *cred;
IN struct proc *p;
@@ -433,7 +433,7 @@ vop_pathconf {
#
vop_advlock {
IN struct vnode *vp;
- IN caddr_t id;
+ IN void *id;
IN int op;
IN struct flock *fl;
IN int flags;