diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2015-05-31 18:11:20 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2015-05-31 18:11:20 +0000 |
commit | 53b4f20443cef8c5cd4fe280f9d68451d0858ebc (patch) | |
tree | 2eb6a49b40572e7a4f5194deacc3411c24f1b04e | |
parent | da00b605c11e2f1da68f9039848a150bdd1f29ae (diff) | |
download | FreeBSD-src-53b4f20443cef8c5cd4fe280f9d68451d0858ebc.zip FreeBSD-src-53b4f20443cef8c5cd4fe280f9d68451d0858ebc.tar.gz |
Make x_putlong() and x_putbytes() prototypes match the
prototypes in <rpc/xdr.h>
-rw-r--r-- | lib/libc/xdr/xdr_sizeof.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/xdr/xdr_sizeof.c b/lib/libc/xdr/xdr_sizeof.c index 60a6a7c..978539b 100644 --- a/lib/libc/xdr/xdr_sizeof.c +++ b/lib/libc/xdr/xdr_sizeof.c @@ -47,7 +47,7 @@ __FBSDID("$FreeBSD$"); /* ARGSUSED */ static bool_t -x_putlong(XDR *xdrs, long *longp) +x_putlong(XDR *xdrs, const long *longp) { xdrs->x_handy += BYTES_PER_XDR_UNIT; return (TRUE); @@ -55,7 +55,7 @@ x_putlong(XDR *xdrs, long *longp) /* ARGSUSED */ static bool_t -x_putbytes(XDR *xdrs, char *bp, u_int len) +x_putbytes(XDR *xdrs, const char *bp, u_int len) { xdrs->x_handy += len; return (TRUE); |