Date: Sun, 31 May 2015 18:11:21 +0000 (UTC) From: Craig Rodrigues <rodrigc@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r283834 - head/lib/libc/xdr Message-ID: <201505311811.t4VIBLDK091988@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rodrigc Date: Sun May 31 18:11:20 2015 New Revision: 283834 URL: https://svnweb.freebsd.org/changeset/base/283834 Log: Make x_putlong() and x_putbytes() prototypes match the prototypes in <rpc/xdr.h> Modified: head/lib/libc/xdr/xdr_sizeof.c Modified: head/lib/libc/xdr/xdr_sizeof.c ============================================================================== --- head/lib/libc/xdr/xdr_sizeof.c Sun May 31 18:08:58 2015 (r283833) +++ head/lib/libc/xdr/xdr_sizeof.c Sun May 31 18:11:20 2015 (r283834) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505311811.t4VIBLDK091988>