Showing the changes to include/linux/lockd (2 of 17 files). Show all
Unified · Split
| @@ -188,7 +188,7 @@ struct nlm_block { · 187 unmodified lines | ||
| 188 | 188 | /* |
| 189 | 189 | * Global variables |
| 190 | 190 | */ |
| 191 | −extern struct rpc_program nlm_program; | |
| 191 | +extern const struct rpc_program nlm_program; | |
| 192 | 192 | extern struct svc_procedure nlmsvc_procedures[]; |
| 193 | 193 | #ifdef CONFIG_LOCKD_V4 |
| 194 | 194 | extern struct svc_procedure nlmsvc_procedures4[]; |
| @@ -42,6 +42,6 @@ int nlmclt_encode_lockargs(struct rpc_rqst *, u32 *, struct nlm_args *); · 41 unmodified lines | ||
| 42 | 42 | int nlmclt_encode_cancargs(struct rpc_rqst *, u32 *, struct nlm_args *); |
| 43 | 43 | int nlmclt_encode_unlockargs(struct rpc_rqst *, u32 *, struct nlm_args *); |
| 44 | 44 | */ |
| 45 | −extern struct rpc_version nlm_version4; | |
| 45 | +extern const struct rpc_version nlm_version4; | |
| 46 | 46 | |
| 47 | 47 | #endif /* LOCKD_XDR4_H */ |