Constify the first arg to callrpc(3).
This commit is contained in:
parent
e65c986e46
commit
a28390a969
@ -83,7 +83,7 @@ extern int get_myaddress __P((struct sockaddr_in *));
|
||||
extern int bindresvport __P((int, struct sockaddr_in *));
|
||||
extern int registerrpc __P((int, int, int, char *(*) __P((char [UDPMSGSIZE])),
|
||||
xdrproc_t, xdrproc_t));
|
||||
extern int callrpc __P((char *, int, int, int, xdrproc_t, void *,
|
||||
extern int callrpc __P((const char *, int, int, int, xdrproc_t, void *,
|
||||
xdrproc_t , void *));
|
||||
extern int getrpcport __P((char *, int, int, int));
|
||||
|
||||
|
@ -332,7 +332,7 @@ get_myaddress(addr)
|
||||
*/
|
||||
int
|
||||
callrpc(host, prognum, versnum, procnum, inproc, in, outproc, out)
|
||||
char *host;
|
||||
const char *host;
|
||||
int prognum, versnum, procnum;
|
||||
xdrproc_t inproc, outproc;
|
||||
void *in, *out;
|
||||
|
Loading…
Reference in New Issue
Block a user