diff options
Diffstat (limited to 'sys/isofs/cd9660')
-rw-r--r-- | sys/isofs/cd9660/cd9660_extern.h | 8 | ||||
-rw-r--r-- | sys/isofs/cd9660/cd9660_vnops.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/isofs/cd9660/cd9660_extern.h b/sys/isofs/cd9660/cd9660_extern.h index 8c4bebfa8dd..2a5348e1768 100644 --- a/sys/isofs/cd9660/cd9660_extern.h +++ b/sys/isofs/cd9660/cd9660_extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cd9660_extern.h,v 1.14 2018/02/10 05:24:23 deraadt Exp $ */ +/* $OpenBSD: cd9660_extern.h,v 1.15 2020/01/20 23:21:55 claudio Exp $ */ /* $NetBSD: cd9660_extern.h,v 1.1 1997/01/24 00:24:53 cgd Exp $ */ /*- @@ -99,10 +99,10 @@ int cd9660_check_export(struct mount *, struct mbuf *, int *, int cd9660_mountroot(void); -extern struct vops cd9660_vops; -extern struct vops cd9660_specvops; +extern const struct vops cd9660_vops; +extern const struct vops cd9660_specvops; #ifdef FIFO -extern struct vops cd9660_fifovops; +extern const struct vops cd9660_fifovops; #endif int isochar(const u_char *, const u_char *, int, u_char *); diff --git a/sys/isofs/cd9660/cd9660_vnops.c b/sys/isofs/cd9660/cd9660_vnops.c index 7860c71032d..98498bcd79b 100644 --- a/sys/isofs/cd9660/cd9660_vnops.c +++ b/sys/isofs/cd9660/cd9660_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd9660_vnops.c,v 1.80 2019/12/31 13:48:32 visa Exp $ */ +/* $OpenBSD: cd9660_vnops.c,v 1.81 2020/01/20 23:21:55 claudio Exp $ */ /* $NetBSD: cd9660_vnops.c,v 1.42 1997/10/16 23:56:57 christos Exp $ */ /*- @@ -832,7 +832,7 @@ cd9660_pathconf(void *v) #define cd9660_revoke vop_generic_revoke /* Global vfs data structures for cd9660. */ -struct vops cd9660_vops = { +const struct vops cd9660_vops = { .vop_lookup = cd9660_lookup, .vop_create = cd9660_create, .vop_mknod = cd9660_mknod, @@ -871,7 +871,7 @@ struct vops cd9660_vops = { }; /* Special device vnode ops */ -struct vops cd9660_specvops = { +const struct vops cd9660_specvops = { .vop_access = cd9660_access, .vop_getattr = cd9660_getattr, .vop_setattr = cd9660_setattr, @@ -912,7 +912,7 @@ struct vops cd9660_specvops = { }; #ifdef FIFO -struct vops cd9660_fifovops = { +const struct vops cd9660_fifovops = { .vop_access = cd9660_access, .vop_getattr = cd9660_getattr, .vop_setattr = cd9660_setattr, |