From 51d2e12a88732c8d63311564fd4df090ac3d3608 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 15 Jan 2001 13:18:42 +0000 Subject: I've been working on fixing up the rpc crap. now it is only _mostly_ broken, a big improvement. Still doesn't compile... --- libc/inet/rpc/getrpcport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/inet/rpc/getrpcport.c') diff --git a/libc/inet/rpc/getrpcport.c b/libc/inet/rpc/getrpcport.c index af4f7daf6..0665fbae1 100644 --- a/libc/inet/rpc/getrpcport.c +++ b/libc/inet/rpc/getrpcport.c @@ -40,8 +40,8 @@ static char sccsid[] = "@(#)getrpcport.c 1.3 87/08/11 SMI"; #include #include -getrpcport(host, prognum, versnum, proto) -char *host; +extern int getrpcport (const char * host, u_long prognum, + u_long versnum, u_int proto) { struct sockaddr_in addr; struct hostent *hp; -- cgit v1.2.3