From cc74aaddadaf4a5563131a53b246553c4edc5b6e Mon Sep 17 00:00:00 2001 From: Alfred Perlstein Date: Fri, 23 Mar 2001 16:14:49 +0000 Subject: change callrpc() from taking "char *" args, I'm quite sure they really meant to use "void *". remove a duplicate prototype for callrpc() from libexec/ypxfr/ypxfr_extern.h --- include/rpc/rpc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/rpc/rpc.h b/include/rpc/rpc.h index 2e6b94755f3e..e16b4fd316f3 100644 --- a/include/rpc/rpc.h +++ b/include/rpc/rpc.h @@ -83,8 +83,8 @@ 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, char *, - xdrproc_t , char *)); +extern int callrpc __P((char *, int, int, int, xdrproc_t, void *, + xdrproc_t , void *)); extern int getrpcport __P((char *, int, int, int)); char *taddr2uaddr __P((const struct netconfig *, const struct netbuf *)); -- cgit v1.3