Constify the first arg to callrpc(3).

This commit is contained in:
alfred 2002-03-22 19:19:32 +00:00
parent e65c986e46
commit a28390a969
2 changed files with 2 additions and 2 deletions

View File

@ -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));

View File

@ -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;