diff options
Diffstat (limited to 'libc/inet/rpc/pmap_rmt.c')
-rw-r--r-- | libc/inet/rpc/pmap_rmt.c | 5 |
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))) { |