summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/pmap_rmt.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/pmap_rmt.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/pmap_rmt.c')
-rw-r--r--libc/inet/rpc/pmap_rmt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/inet/rpc/pmap_rmt.c b/libc/inet/rpc/pmap_rmt.c
index 1f2b47cba..80e984b77 100644
--- a/libc/inet/rpc/pmap_rmt.c
+++ b/libc/inet/rpc/pmap_rmt.c
@@ -105,11 +105,12 @@ u_long *port_ptr;
* XDR remote call arguments
* written for XDR_ENCODE direction only
*/
-bool_t xdr_rmtcall_args(xdrs, cap)
+bool_t xdr_rmtcall_args(xdrs, args)
register XDR *xdrs;
-register struct rmtcallargs *cap;
+void * arg2;
{
u_int lenposition, argposition, position;
+ register struct rmtcallargs *cap = arg2;
if (xdr_u_long(xdrs, &(cap->prog)) &&
xdr_u_long(xdrs, &(cap->vers)) && xdr_u_long(xdrs, &(cap->proc))) {