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

Craig Rodrigues rodrigc at FreeBSD.org
Sun Sep 20 20:52:14 UTC 2015


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;


More information about the svn-src-all mailing list