History

SUNRPC: constify the rpc_program

Trond Myklebust committed 14 years ago

Commit a613fa11 parent 080b79417 files · +54 −54Browse files

Showing the changes to include/linux/lockd (2 of 17 files). Show all

Unified · Split

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