summaryrefslogtreecommitdiffstats
path: root/sys/dev/vn
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-11-04 13:25:33 +0000
committerbde <bde@FreeBSD.org>1995-11-04 13:25:33 +0000
commit336a6f070b228b59f25b26ea4de3ac0ff1c7160f (patch)
tree6f35ae0e7caade790223565873d04a0f034c5822 /sys/dev/vn
parent246c28b0f93b97b2c3c8dd1984ec68e01343a509 (diff)
downloadFreeBSD-src-336a6f070b228b59f25b26ea4de3ac0ff1c7160f.zip
FreeBSD-src-336a6f070b228b59f25b26ea4de3ac0ff1c7160f.tar.gz
Moved prototypes for devswitch functions from conf.c and driver sources
to <machine/conf.h>. conf.h was mechanically generated by `grep ^d_ conf.c >conf.h'. This accounts for part of its ugliness. The prototypes should be moved back to the driver sources when the functions are staticalized.
Diffstat (limited to 'sys/dev/vn')
-rw-r--r--sys/dev/vn/vn.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/vn/vn.c b/sys/dev/vn/vn.c
index 2e0e03a..fe6033e 100644
--- a/sys/dev/vn/vn.c
+++ b/sys/dev/vn/vn.c
@@ -126,16 +126,10 @@ u_long vn_options;
/*
* XXX these decls should be static (without __P(())) or elsewhere.
*/
-int vnclose __P((dev_t dev, int flags, int mode, struct proc *p));
-int vnopen __P((dev_t dev, int flags, int mode, struct proc *p));
-void vnstrategy __P((struct buf *bp));
-int vnioctl __P((dev_t dev, int cmd, caddr_t data, int flag, struct proc *p));
void vniodone __P((struct buf *bp));
int vnsetcred __P((struct vn_softc *vn, struct ucred *cred));
void vnshutdown __P((void));
void vnclear __P((struct vn_softc *vn));
-int vnsize __P((dev_t dev));
-int vndump __P((dev_t dev));
int
vnclose(dev_t dev, int flags, int mode, struct proc *p)
OpenPOWER on IntegriCloud