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);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to