From 107909b8887b0b4f7b67f1ab2f4ddff322dcb9b3 Mon Sep 17 00:00:00 2001 From: Craig Rodrigues Date: Sun, 20 Sep 2015 20:52:13 +0000 Subject: [PATCH] Use ANSI C prototypes. Eliminates -Wold-style-definition warnings. --- lib/libc/xdr/xdr_float.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/libc/xdr/xdr_float.c b/lib/libc/xdr/xdr_float.c index fc024fcd0331..63ecd03be724 100644 --- a/lib/libc/xdr/xdr_float.c +++ b/lib/libc/xdr/xdr_float.c @@ -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;