summaryrefslogtreecommitdiff
path: root/lib/libc/rpc/getrpcport.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-30 21:13:00 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-30 21:13:00 +0000
commit9303b18d6f9a2625497b70b57271600be5fa05d3 (patch)
treeb63ca7163930d6ef3994a4b5acf78c96b9037462 /lib/libc/rpc/getrpcport.c
parent2908dff691c80dec342403bd7737c3977a865f26 (diff)
returns int
Diffstat (limited to 'lib/libc/rpc/getrpcport.c')
-rw-r--r--lib/libc/rpc/getrpcport.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/rpc/getrpcport.c b/lib/libc/rpc/getrpcport.c
index 17bf500aef3..703fa084ceb 100644
--- a/lib/libc/rpc/getrpcport.c
+++ b/lib/libc/rpc/getrpcport.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: getrpcport.c,v 1.4 1996/08/19 08:31:36 tholo Exp $";
+static char *rcsid = "$OpenBSD: getrpcport.c,v 1.5 1996/09/30 21:12:59 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -42,6 +42,7 @@ static char *rcsid = "$OpenBSD: getrpcport.c,v 1.4 1996/08/19 08:31:36 tholo Exp
#include <netdb.h>
#include <sys/socket.h>
+int
getrpcport(host, prognum, versnum, proto)
char *host;
int prognum, versnum, proto;