diff options
author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2015-09-20 20:52:13 +0000 |
---|---|---|
committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2015-09-20 20:52:13 +0000 |
commit | 107909b8887b0b4f7b67f1ab2f4ddff322dcb9b3 (patch) | |
tree | 3d180e2dedd3aa7098de7563a46e2d929181fb26 /lib/libc/xdr | |
parent | 85cef63214093322dcacf0846fb6ac5bac2696b3 (diff) |
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
Notes
Notes:
svn path=/head/; revision=288040
Diffstat (limited to 'lib/libc/xdr')
-rw-r--r-- | lib/libc/xdr/xdr_float.c | 4 |
1 files changed, 1 insertions, 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; |