SUNRPC: constify the rpc_program

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
Trond Myklebust 2012-01-20 13:53:56 -05:00
parent 080b794ce5
commit a613fa168a
17 changed files with 54 additions and 54 deletions

View file

@ -188,7 +188,7 @@ struct nlm_block {
/*
* Global variables
*/
extern struct rpc_program nlm_program;
extern const struct rpc_program nlm_program;
extern struct svc_procedure nlmsvc_procedures[];
#ifdef CONFIG_LOCKD_V4
extern struct svc_procedure nlmsvc_procedures4[];

View file

@ -42,6 +42,6 @@ int nlmclt_encode_lockargs(struct rpc_rqst *, u32 *, struct nlm_args *);
int nlmclt_encode_cancargs(struct rpc_rqst *, u32 *, struct nlm_args *);
int nlmclt_encode_unlockargs(struct rpc_rqst *, u32 *, struct nlm_args *);
*/
extern struct rpc_version nlm_version4;
extern const struct rpc_version nlm_version4;
#endif /* LOCKD_XDR4_H */