summaryrefslogtreecommitdiff
path: root/sys/miscfs/kernfs/kernfs.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-08-11 10:19:25 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-08-11 10:19:25 +0000
commit572974c346e5cce2dc2da4c43085b88799b5832b (patch)
treea46a1f24deccb231f946829a1efae00eba7b4990 /sys/miscfs/kernfs/kernfs.h
parentd8967c0aeeb18be126df1504c3127cbceaa30243 (diff)
constify constant targets
Diffstat (limited to 'sys/miscfs/kernfs/kernfs.h')
-rw-r--r--sys/miscfs/kernfs/kernfs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/miscfs/kernfs/kernfs.h b/sys/miscfs/kernfs/kernfs.h
index 8520f861fbb..d956aed3f8e 100644
--- a/sys/miscfs/kernfs/kernfs.h
+++ b/sys/miscfs/kernfs/kernfs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: kernfs.h,v 1.11 2003/06/02 23:28:10 millert Exp $ */
+/* $OpenBSD: kernfs.h,v 1.12 2003/08/11 10:19:24 mickey Exp $ */
/* $NetBSD: kernfs.h,v 1.10 1996/02/09 22:40:21 christos Exp $ */
/*
@@ -65,7 +65,7 @@ struct kern_target {
struct kernfs_node {
TAILQ_ENTRY(kernfs_node) list;
- struct kern_target *kf_kt;
+ const struct kern_target *kf_kt;
struct vnode *kf_vnode;
#define kf_type kf_kt->kt_type
#define kf_namlen kf_kt->kt_namlen
@@ -94,8 +94,8 @@ struct kernfs_node {
int *, struct ucred **))eopnotsupp)
int kernfs_init(struct vfsconf *);
-int kernfs_allocvp(struct kern_target *, struct mount *, struct vnode **);
-struct kern_target *kernfs_findtarget(char *, int);
+int kernfs_allocvp(const struct kern_target *, struct mount *, struct vnode **);
+const struct kern_target *kernfs_findtarget(char *, int);
extern int (**kernfs_vnodeop_p)(void *);
extern struct vfsops kernfs_vfsops;
extern dev_t rrootdev;