svn commit: r283835 - head/lib/libc/xdr

Craig Rodrigues rodrigc at FreeBSD.org
Sun May 31 19:09:25 UTC 2015


Author: rodrigc
Date: Sun May 31 19:09:24 2015
New Revision: 283835
URL: https://svnweb.freebsd.org/changeset/base/283835

Log:
  Use proper prototype for harmless().

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:11:20 2015	(r283834)
+++ head/lib/libc/xdr/xdr_sizeof.c	Sun May 31 19:09:24 2015	(r283835)
@@ -103,7 +103,7 @@ x_inline(XDR *xdrs, u_int len)
 }
 
 static int
-harmless()
+harmless(void)
 {
 	/* Always return FALSE/NULL, as the case may be */
 	return (0);


More information about the svn-src-all mailing list