summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/xdr_array.c
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2010-04-25 10:14:48 +0200
committerCarmelo Amoroso <carmelo.amoroso@st.com>2010-04-25 10:14:48 +0200
commitf71bcf0f42bf6926477cc3e3faa006cf74e59c45 (patch)
treeae05a12267d2bfa4c9384bfd0cd43d2659740a92 /libc/inet/rpc/xdr_array.c
parentcce1105f017744ad2d6b7b86d8a3160637bebea1 (diff)
libc: Remove compiler warning due to old-style function definition
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/inet/rpc/xdr_array.c')
-rw-r--r--libc/inet/rpc/xdr_array.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/libc/inet/rpc/xdr_array.c b/libc/inet/rpc/xdr_array.c
index bb3e51e33..61603edd1 100644
--- a/libc/inet/rpc/xdr_array.c
+++ b/libc/inet/rpc/xdr_array.c
@@ -152,12 +152,8 @@ libc_hidden_def(xdr_array)
* > xdr_elem: routine to XDR each element
*/
bool_t
-xdr_vector (xdrs, basep, nelem, elemsize, xdr_elem)
- XDR *xdrs;
- char *basep;
- u_int nelem;
- u_int elemsize;
- xdrproc_t xdr_elem;
+xdr_vector (XDR *xdrs, char *basep, u_int nelem, u_int elemsize,
+ xdrproc_t xdr_elem)
{
u_int i;
char *elptr;