summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/pmap_rmt.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-02-05 03:05:26 +0000
committerEric Andersen <andersen@codepoet.org>2001-02-05 03:05:26 +0000
commit3540d0675cce2068ec0c26a46660972a9859c368 (patch)
treecffdb9b43c1111eb56655215c3db088b82c630c6 /libc/inet/rpc/pmap_rmt.c
parentc933888d28d6ac1b0028458a4d85cd1b593ace3d (diff)
Update networking includes.
Diffstat (limited to 'libc/inet/rpc/pmap_rmt.c')
-rw-r--r--libc/inet/rpc/pmap_rmt.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/libc/inet/rpc/pmap_rmt.c b/libc/inet/rpc/pmap_rmt.c
index 80e984b77..e1840b8a0 100644
--- a/libc/inet/rpc/pmap_rmt.c
+++ b/libc/inet/rpc/pmap_rmt.c
@@ -27,9 +27,6 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#if !defined(lint) && defined(SCCSIDS)
-static char sccsid[] = "@(#)pmap_rmt.c 1.21 87/08/27 Copyr 1984 Sun Micro";
-#endif
/*
* pmap_rmt.c
@@ -39,6 +36,12 @@ static char sccsid[] = "@(#)pmap_rmt.c 1.21 87/08/27 Copyr 1984 Sun Micro";
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
+#define __FORCE_GLIBC__
+#include <features.h>
+#include <unistd.h>
+#include <string.h>
+#include <sys/time.h>
+#include <sys/types.h>
#include <rpc/rpc.h>
#include <rpc/pmap_prot.h>
#include <rpc/pmap_clnt.h>
@@ -105,7 +108,7 @@ u_long *port_ptr;
* XDR remote call arguments
* written for XDR_ENCODE direction only
*/
-bool_t xdr_rmtcall_args(xdrs, args)
+bool_t xdr_rmtcall_args(xdrs, arg2)
register XDR *xdrs;
void * arg2;
{
@@ -150,6 +153,7 @@ register struct rmtcallres *crp;
return (FALSE);
}
+void get_myaddress( struct sockaddr_in *addr);
/*
* The following is kludged-up support for simple rpc broadcasts.
@@ -223,6 +227,8 @@ char *buf; /* why allocxate more when we can use existing... */
}
typedef bool_t(*resultproc_t) ();
+void _rpc_dtablesize(void );
+
enum clnt_stat
clnt_broadcast(prog, vers, proc, xargs, argsp, xresults, resultsp,