Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 2015 20:52:14 +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: r288040 - head/lib/libc/xdr
Message-ID:  <201509202052.t8KKqEbW098570@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rodrigc
Date: Sun Sep 20 20:52:13 2015
New Revision: 288040
URL: https://svnweb.freebsd.org/changeset/base/288040

Log:
  Use ANSI C prototypes.  Eliminates -Wold-style-definition warnings.

Modified:
  head/lib/libc/xdr/xdr_float.c

Modified: head/lib/libc/xdr/xdr_float.c
==============================================================================
--- head/lib/libc/xdr/xdr_float.c	Sun Sep 20 20:51:52 2015	(r288039)
+++ head/lib/libc/xdr/xdr_float.c	Sun Sep 20 20:52:13 2015	(r288040)
@@ -102,9 +102,7 @@ static struct sgl_limits {
 #endif /* vax */
 
 bool_t
-xdr_float(xdrs, fp)
-	XDR *xdrs;
-	float *fp;
+xdr_float(XDR *xdrs, float *fp)
 {
 #ifndef IEEEFP
 	struct ieee_single is;



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