diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2010-04-25 10:14:48 +0200 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2010-04-25 10:14:48 +0200 |
commit | f71bcf0f42bf6926477cc3e3faa006cf74e59c45 (patch) | |
tree | ae05a12267d2bfa4c9384bfd0cd43d2659740a92 /libc/inet/rpc/xdr_mem.c | |
parent | cce1105f017744ad2d6b7b86d8a3160637bebea1 (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_mem.c')
-rw-r--r-- | libc/inet/rpc/xdr_mem.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/inet/rpc/xdr_mem.c b/libc/inet/rpc/xdr_mem.c index 9892dd936..c58fc450a 100644 --- a/libc/inet/rpc/xdr_mem.c +++ b/libc/inet/rpc/xdr_mem.c @@ -173,9 +173,7 @@ xdrmem_getpos (const XDR *xdrs) * xdrs modified */ static bool_t -xdrmem_setpos (xdrs, pos) - XDR *xdrs; - u_int pos; +xdrmem_setpos (XDR *xdrs, u_int pos) { caddr_t newaddr = xdrs->x_base + pos; caddr_t lastaddr = xdrs->x_private + xdrs->x_handy; |