aboutsummaryrefslogtreecommitdiff
path: root/sunrpc/pmap_prot2.c
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc/pmap_prot2.c')
-rw-r--r--sunrpc/pmap_prot2.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sunrpc/pmap_prot2.c b/sunrpc/pmap_prot2.c
index 6cb7c5e1b3..aa1f8eb8ad 100644
--- a/sunrpc/pmap_prot2.c
+++ b/sunrpc/pmap_prot2.c
@@ -98,7 +98,7 @@ xdr_pmaplist (xdrs, rp)
while (TRUE)
{
more_elements = (bool_t) (*rp != NULL);
- if (!xdr_bool (xdrs, &more_elements))
+ if (!INTUSE(xdr_bool) (xdrs, &more_elements))
return FALSE;
if (!more_elements)
return TRUE; /* we are done */
@@ -109,10 +109,11 @@ xdr_pmaplist (xdrs, rp)
*/
if (freeing)
next = &((*rp)->pml_next);
- if (!xdr_reference (xdrs, (caddr_t *) rp,
- (u_int) sizeof (struct pmaplist),
- (xdrproc_t) xdr_pmap))
+ if (!INTUSE(xdr_reference) (xdrs, (caddr_t *) rp,
+ (u_int) sizeof (struct pmaplist),
+ (xdrproc_t) INTUSE(xdr_pmap)))
return FALSE;
rp = freeing ? next : &((*rp)->pml_next);
}
}
+INTDEF(xdr_pmaplist)