diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-08-14 07:46:41 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-08-14 07:46:41 +0000 |
commit | f5d6164614809806f64cdf8d9d7620b20d27bb8b (patch) | |
tree | 202d134439ca77f3453ace391e5914aa44160e6c /sys/miscfs/fdesc | |
parent | e37462c57e2b609bb6438cf547935c0b9b7dd634 (diff) |
constify vfsops; tedu@ ok
Diffstat (limited to 'sys/miscfs/fdesc')
-rw-r--r-- | sys/miscfs/fdesc/fdesc.h | 4 | ||||
-rw-r--r-- | sys/miscfs/fdesc/fdesc_vfsops.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/miscfs/fdesc/fdesc.h b/sys/miscfs/fdesc/fdesc.h index 870c3aef0b8..f3353be6ace 100644 --- a/sys/miscfs/fdesc/fdesc.h +++ b/sys/miscfs/fdesc/fdesc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: fdesc.h,v 1.8 2003/06/02 23:28:10 millert Exp $ */ +/* $OpenBSD: fdesc.h,v 1.9 2003/08/14 07:46:39 mickey Exp $ */ /* $NetBSD: fdesc.h,v 1.9 1996/02/09 22:40:03 christos Exp $ */ /* @@ -71,5 +71,5 @@ extern int fdesc_init(struct vfsconf *); extern int fdesc_root(struct mount *, struct vnode **); extern int fdesc_allocvp(fdntype, int, struct mount *, struct vnode **); extern int (**fdesc_vnodeop_p)(void *); -extern struct vfsops fdesc_vfsops; +extern const struct vfsops fdesc_vfsops; #endif /* _KERNEL */ diff --git a/sys/miscfs/fdesc/fdesc_vfsops.c b/sys/miscfs/fdesc/fdesc_vfsops.c index a052c4bf703..75772a024b7 100644 --- a/sys/miscfs/fdesc/fdesc_vfsops.c +++ b/sys/miscfs/fdesc/fdesc_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fdesc_vfsops.c,v 1.12 2003/06/02 23:28:10 millert Exp $ */ +/* $OpenBSD: fdesc_vfsops.c,v 1.13 2003/08/14 07:46:39 mickey Exp $ */ /* $NetBSD: fdesc_vfsops.c,v 1.21 1996/02/09 22:40:07 christos Exp $ */ /* @@ -219,7 +219,7 @@ fdesc_sync(mp, waitfor, uc, p) #define fdesc_checkexp ((int (*)(struct mount *, struct mbuf *, \ int *, struct ucred **))eopnotsupp) -struct vfsops fdesc_vfsops = { +const struct vfsops fdesc_vfsops = { fdesc_mount, fdesc_start, fdesc_unmount, |