Constify the first arg to callrpc(3).

This commit is contained in:
Alfred Perlstein 2002-03-22 19:19:32 +00:00
parent 0581c2c187
commit b275d8fe48
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=92968
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;