Skip to content
Snippets Groups Projects
Commit 2b8a82fd authored by Steven Murray's avatar Steven Murray
Browse files

CASTOR-5102 RFE: The host and request payload parameters of send2nsd() should be make const

parent 29a082fc
Branches
Tags
No related merge requests found
......@@ -310,10 +310,10 @@ EXTERN_C mode_t Cns_umask (mode_t);
EXTERN_C int Cns_unlink (const char *);
EXTERN_C int Cns_unlinkbyvid (char *, const char *);
EXTERN_C int Cns_utime (const char *, struct utimbuf *);
EXTERN_C int send2nsd (int *, char *, char *, int, char *, int);
EXTERN_C int send2nsd (int *, const char *, const char *, int, char *, int);
EXTERN_C int Cns_setid (uid_t, gid_t);
EXTERN_C int Cns_getid (uid_t *, gid_t *);
EXTERN_C int Cns_getrealid (uid_t *, gid_t *);
EXTERN_C int Cns_unsetid ();
EXTERN_C int send2nsdx (int *, char *, char *, int, char *, int, void **, int *);
EXTERN_C int send2nsdx (int *, const char *, const char *, int, char *, int, void **, int *);
......@@ -23,8 +23,8 @@
/* send2nsd - send a request to the name server and wait for the reply */
int send2nsdx(int *socketp,
char *host,
char *reqp,
const char *host,
const char *reqp,
int reql,
char *user_repbuf,
int user_repbuf_len,
......@@ -326,8 +326,8 @@ int send2nsdx(int *socketp,
int send2nsd(int *socketp,
char *host,
char *reqp,
const char *host,
const char *reqp,
int reql,
char *user_repbuf,
int user_repbuf_len)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment