From 356b686774968d312476b66d0c1fb1f21c46305a Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Mon, 12 Feb 2001 00:59:18 +0000 Subject: Clean up lots of warnings. --- libc/inet/rpc/pmap_getmaps.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libc/inet/rpc/pmap_getmaps.c') diff --git a/libc/inet/rpc/pmap_getmaps.c b/libc/inet/rpc/pmap_getmaps.c index e1685b595..58fc0c25b 100644 --- a/libc/inet/rpc/pmap_getmaps.c +++ b/libc/inet/rpc/pmap_getmaps.c @@ -47,6 +47,7 @@ #include //#include #include +#include #define NAMELEN 255 #define MAX_BROADCAST_SIZE 1400 @@ -69,8 +70,9 @@ struct sockaddr_in *address; address->sin_port = htons(PMAPPORT); client = clnttcp_create(address, PMAPPROG, PMAPVERS, &socket, 50, 500); if (client != (CLIENT *) NULL) { - if (CLNT_CALL(client, PMAPPROC_DUMP, xdr_void, NULL, xdr_pmaplist, - &head, minutetimeout) != RPC_SUCCESS) { + if (CLNT_CALL(client, PMAPPROC_DUMP, (xdrproc_t) xdr_void, NULL, + (xdrproc_t) xdr_pmaplist, (caddr_t) &head, + minutetimeout) != RPC_SUCCESS) { clnt_perror(client, "pmap_getmaps rpc problem"); } CLNT_DESTROY(client); -- cgit v1.2.3