mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 13:41:30 +00:00
SUNRPC: constify the rpc_program
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
080b794ce5
commit
a613fa168a
17 changed files with 54 additions and 54 deletions
|
@ -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[];
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue