Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 May 2015 19:09:25 +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: r283835 - head/lib/libc/xdr
Message-ID:  <201505311909.t4VJ9Pi0019408@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505311909.t4VJ9Pi0019408>