summaryrefslogtreecommitdiff
path: root/libc/sunrpc/xdr_array.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sunrpc/xdr_array.c')
-rw-r--r--libc/sunrpc/xdr_array.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/libc/sunrpc/xdr_array.c b/libc/sunrpc/xdr_array.c
index 03df57b89..05162ec41 100644
--- a/libc/sunrpc/xdr_array.c
+++ b/libc/sunrpc/xdr_array.c
@@ -70,7 +70,7 @@ xdr_array (xdrs, addrp, sizep, maxsize, elsize, elproc)
bool_t stat = TRUE;
/* like strings, arrays are really counted arrays */
- if (!INTUSE(xdr_u_int) (xdrs, sizep))
+ if (!xdr_u_int (xdrs, sizep))
{
return FALSE;
}
@@ -127,7 +127,11 @@ xdr_array (xdrs, addrp, sizep, maxsize, elsize, elproc)
}
return stat;
}
-INTDEF(xdr_array)
+#ifdef EXPORT_RPC_SYMBOLS
+libc_hidden_def (xdr_array)
+#else
+libc_hidden_nolink (xdr_array, GLIBC_2_0)
+#endif
/*
* xdr_vector():
@@ -161,3 +165,4 @@ xdr_vector (xdrs, basep, nelem, elemsize, xdr_elem)
}
return TRUE;
}
+libc_hidden_nolink (xdr_vector, GLIBC_2_0)