diff options
Diffstat (limited to 'libc/inet/rpc/getrpcport.c')
-rw-r--r-- | libc/inet/rpc/getrpcport.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <netdb.h> #include <sys/socket.h> -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; |