summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/spec_vnops.c5
-rw-r--r--sys/sys/specdev.h13
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 */