Make x_putlong() and x_putbytes() prototypes match the

prototypes in <rpc/xdr.h>
This commit is contained in:
Craig Rodrigues 2015-05-31 18:11:20 +00:00
parent d660d38da5
commit 9c75ed7f39
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=283834

View File

@ -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);