Print this page
6154 const-ify segment ops structures

*** 295,306 **** } vmu_data_t; extern struct as kas; extern proc_t *practive; extern zone_t *global_zone; ! extern struct seg_ops segvn_ops; ! extern struct seg_ops segspt_shmops; static vmu_data_t vmu_data; static kmem_cache_t *vmu_bound_cache; static kmem_cache_t *vmu_object_cache; --- 295,306 ---- } vmu_data_t; extern struct as kas; extern proc_t *practive; extern zone_t *global_zone; ! extern const struct seg_ops segvn_ops; ! extern const struct seg_ops segspt_shmops; static vmu_data_t vmu_data; static kmem_cache_t *vmu_bound_cache; static kmem_cache_t *vmu_object_cache;