summaryrefslogtreecommitdiff
path: root/sys/miscfs/procfs
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-08-14 07:46:41 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-08-14 07:46:41 +0000
commitf5d6164614809806f64cdf8d9d7620b20d27bb8b (patch)
tree202d134439ca77f3453ace391e5914aa44160e6c /sys/miscfs/procfs
parente37462c57e2b609bb6438cf547935c0b9b7dd634 (diff)
constify vfsops; tedu@ ok
Diffstat (limited to 'sys/miscfs/procfs')
-rw-r--r--sys/miscfs/procfs/procfs.h4
-rw-r--r--sys/miscfs/procfs/procfs_vfsops.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/miscfs/procfs/procfs.h b/sys/miscfs/procfs/procfs.h
index 0608ca7f035..c590f949c76 100644
--- a/sys/miscfs/procfs/procfs.h
+++ b/sys/miscfs/procfs/procfs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: procfs.h,v 1.20 2003/08/11 10:08:04 mickey Exp $ */
+/* $OpenBSD: procfs.h,v 1.21 2003/08/14 07:46:40 mickey Exp $ */
/* $NetBSD: procfs.h,v 1.17 1996/02/12 15:01:41 christos Exp $ */
/*
@@ -137,7 +137,7 @@ int procfs_rw(void *);
#define PROCFS_WANT 0x02
extern int (**procfs_vnodeop_p)(void *);
-extern struct vfsops procfs_vfsops;
+extern const struct vfsops procfs_vfsops;
struct vfsconf;
diff --git a/sys/miscfs/procfs/procfs_vfsops.c b/sys/miscfs/procfs/procfs_vfsops.c
index eab6f80038f..34a262262ae 100644
--- a/sys/miscfs/procfs/procfs_vfsops.c
+++ b/sys/miscfs/procfs/procfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: procfs_vfsops.c,v 1.21 2003/08/05 20:47:36 tedu Exp $ */
+/* $OpenBSD: procfs_vfsops.c,v 1.22 2003/08/14 07:46:40 mickey Exp $ */
/* $NetBSD: procfs_vfsops.c,v 1.25 1996/02/09 22:40:53 christos Exp $ */
/*
@@ -220,7 +220,7 @@ procfs_statfs(mp, sbp, p)
#define procfs_checkexp ((int (*)(struct mount *, struct mbuf *, \
int *, struct ucred **))eopnotsupp)
-struct vfsops procfs_vfsops = {
+const struct vfsops procfs_vfsops = {
procfs_mount,
procfs_start,
procfs_unmount,