SUNRPC: constify rpc_program->name

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 6eac7d3f45
commit 080b794ce5
2 changed files with 5 additions and 4 deletions

View File

@@ -70,12 +70,12 @@ struct rpc_clnt {
*/
#define RPC_MAXVERSION 4
struct rpc_program {
char * name; /* protocol name */
const char * name; /* protocol name */
u32 number; /* program number */
unsigned int nrvers; /* number of versions */
struct rpc_version ** version; /* version array */
struct rpc_stat * stats; /* statistics */
char * pipe_dir_name; /* path to rpc_pipefs dir */
const char * pipe_dir_name; /* path to rpc_pipefs dir */
};
struct rpc_version {