summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/getrpcport.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-15 13:18:42 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-15 13:18:42 +0000
commit51d2e12a88732c8d63311564fd4df090ac3d3608 (patch)
treeb85c9429c196972dcd6f7c69e0e859d87ae514c3 /libc/inet/rpc/getrpcport.c
parent67fb342b086501f95fdadb3cf69ff9abb7a714e7 (diff)
I've been working on fixing up the rpc crap. now it is only
_mostly_ broken, a big improvement. Still doesn't compile...
Diffstat (limited to 'libc/inet/rpc/getrpcport.c')
-rw-r--r--libc/inet/rpc/getrpcport.c4
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;