This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: C99 anomolies... ?
- From: DJ Delorie <dj at redhat dot com>
- To: newlib at sourceware dot org
- Date: Wed, 27 Aug 2014 15:27:05 -0400
- Subject: Re: C99 anomolies... ?
- Authentication-results: sourceware.org; auth=none
- References: <201408262230 dot s7QMUQH1000804 at greed dot delorie dot com> <53FD0D86 dot 40509 at oarcorp dot com>
> > <math.h>
> >
> > has:
> > extern long double frexpl _PARAMS((long double value, int *));
> > but the "value" part is problematic. Should be:
> > extern long double frexpl _PARAMS((long double, int *));
> > Looks like the only case of this in <math.h>
> Fix it. :)
Committed as "hopefully obvious" ;-)
* libc/include/math.h (frexpl): Remove parameter name.
Index: libc/include/math.h
===================================================================
RCS file: /cvs/src/src/newlib/libc/include/math.h,v
retrieving revision 1.51
diff -p -U 5 -r1.51 math.h
--- libc/include/math.h 4 Aug 2014 21:32:37 -0000 1.51
+++ libc/include/math.h 27 Aug 2014 19:19:36 -0000
@@ -388,11 +388,11 @@ extern float hypotf _PARAMS((float, floa
extern long double atanl _PARAMS((long double));
extern long double cosl _PARAMS((long double));
extern long double sinl _PARAMS((long double));
extern long double tanl _PARAMS((long double));
extern long double tanhl _PARAMS((long double));
-extern long double frexpl _PARAMS((long double value, int *));
+extern long double frexpl _PARAMS((long double, int *));
extern long double modfl _PARAMS((long double, long double *));
extern long double ceill _PARAMS((long double));
extern long double fabsl _PARAMS((long double));
extern long double floorl _PARAMS((long double));
extern long double log1pl _PARAMS((long double));