diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-07-05 05:37:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-07-05 05:37:08 +0000 |
commit | 23dec0c1db8dd82cf3fe1f8a190e1e49755e4fec (patch) | |
tree | 4c3f293617bd31a7314407eea24d2aaaf8acfb43 | |
parent | cdf279d1c5c1fb09d5bed3e223827e8df9771723 (diff) |
clean up some left over decls from before the code moved to one file
ok guenther
-rw-r--r-- | sys/kern/spec_vnops.c | 5 | ||||
-rw-r--r-- | sys/sys/specdev.h | 13 |
2 files changed, 5 insertions, 13 deletions
diff --git a/sys/kern/spec_vnops.c b/sys/kern/spec_vnops.c index 46e94768ccf..8467ed72c45 100644 --- a/sys/kern/spec_vnops.c +++ b/sys/kern/spec_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: spec_vnops.c,v 1.66 2011/07/04 20:51:19 deraadt Exp $ */ +/* $OpenBSD: spec_vnops.c,v 1.67 2011/07/05 05:37:07 deraadt Exp $ */ /* $NetBSD: spec_vnops.c,v 1.29 1996/04/22 01:42:38 christos Exp $ */ /* @@ -54,6 +54,9 @@ #define v_lastr v_specinfo->si_lastr +int spec_open_clone(struct vop_open_args *); +int spec_close_clone(struct vop_close_args *); + struct vnode *speclisth[SPECHSZ]; struct vops spec_vops = { diff --git a/sys/sys/specdev.h b/sys/sys/specdev.h index 846daec47b8..4341a35d039 100644 --- a/sys/sys/specdev.h +++ b/sys/sys/specdev.h @@ -1,4 +1,4 @@ -/* $OpenBSD: specdev.h,v 1.30 2011/07/04 20:35:35 deraadt Exp $ */ +/* $OpenBSD: specdev.h,v 1.31 2011/07/05 05:37:07 deraadt Exp $ */ /* $NetBSD: specdev.h,v 1.12 1996/02/13 13:13:01 mycroft Exp $ */ /* @@ -82,14 +82,6 @@ extern struct vnode *speclisth[SPECHSZ]; /* * Prototypes for special file operations on vnodes. */ -extern struct vops spec_vops; -struct nameidata; -struct componentname; -struct ucred; -struct flock; -struct buf; -struct uio; - int spec_badop(void *); int spec_getattr(void *); int spec_setattr(void *); @@ -108,7 +100,4 @@ int spec_print(void *); int spec_pathconf(void *); int spec_advlock(void *); -/* spec_subr.c */ -int spec_open_clone(struct vop_open_args *); -int spec_close_clone(struct vop_close_args *); #endif /* _KERNEL */ |