=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rpcinfo/rpcinfo.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- src/usr.bin/rpcinfo/rpcinfo.c 2000/07/31 16:55:37 1.5 +++ src/usr.bin/rpcinfo/rpcinfo.c 2001/07/07 00:31:55 1.6 @@ -1,9 +1,9 @@ -/* $OpenBSD: rpcinfo.c,v 1.5 2000/07/31 16:55:37 deraadt Exp $ */ +/* $OpenBSD: rpcinfo.c,v 1.6 2001/07/07 00:31:55 millert Exp $ */ #ifndef lint /*static char sccsid[] = "from: @(#)rpcinfo.c 1.22 87/08/12 SMI";*/ /*static char sccsid[] = "from: @(#)rpcinfo.c 2.2 88/08/11 4.0 RPCSRC";*/ -static char rcsid[] = "$OpenBSD: rpcinfo.c,v 1.5 2000/07/31 16:55:37 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: rpcinfo.c,v 1.6 2001/07/07 00:31:55 millert Exp $"; #endif /* @@ -64,7 +64,7 @@ void tcpping(u_short portflag, int argc, char **argv); int pstatus(CLIENT *client, u_long prognum, u_long vers); void pmapdump(int argc, char **argv); -bool_t reply_proc(void *res, struct sockaddr_in *who); +bool_t reply_proc(caddr_t res, struct sockaddr_in *who); void brdcst(int argc, char **argv); void deletereg(int argc, char **argv); void setreg(int argc, char **argv); @@ -563,7 +563,7 @@ /*ARGSUSED*/ bool_t reply_proc(res, who) - void *res; /* Nothing comes back */ + caddr_t res; /* Nothing comes back */ struct sockaddr_in *who; /* Who sent us the reply */ { register struct hostent *hp; @@ -591,8 +591,7 @@ usage("version number out of range"); rpc_stat = clnt_broadcast(prognum, vers_num, NULLPROC, xdr_void, - (char *)NULL, xdr_void, (char *)NULL, - reply_proc); + (char *)NULL, xdr_void, (char *)NULL, reply_proc); if ((rpc_stat != RPC_SUCCESS) && (rpc_stat != RPC_TIMEDOUT)) { fprintf(stderr, "rpcinfo: broadcast failed: %s\n", clnt_sperrno(rpc_stat));