From 9156548dc760756882dc4dd2a3b1ba39e60980c0 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 5 Feb 2001 20:08:28 +0000 Subject: Fix the worst of the damage so it actually compiles now (though, strictly speaking the entire pile of rpc dung is infect damage). Anyway, hopefully NFS using things may now be able to work... -Erik --- libc/inet/rpc/pmap_rmt.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'libc/inet/rpc/pmap_rmt.c') diff --git a/libc/inet/rpc/pmap_rmt.c b/libc/inet/rpc/pmap_rmt.c index e1840b8a0..a79c34954 100644 --- a/libc/inet/rpc/pmap_rmt.c +++ b/libc/inet/rpc/pmap_rmt.c @@ -108,12 +108,9 @@ u_long *port_ptr; * XDR remote call arguments * written for XDR_ENCODE direction only */ -bool_t xdr_rmtcall_args(xdrs, arg2) -register XDR *xdrs; -void * arg2; +bool_t xdr_rmtcall_args(XDR *xdrs, struct rmtcallargs *cap) { 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))) { @@ -226,8 +223,8 @@ char *buf; /* why allocxate more when we can use existing... */ #endif } -typedef bool_t(*resultproc_t) (); -void _rpc_dtablesize(void ); +//typedef bool_t(*resultproc_t) (); +//void _rpc_dtablesize(void ); enum clnt_stat -- cgit v1.2.3