This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: C99 anomolies... ?
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: DJ Delorie <dj at redhat dot com>, "newlib at sourceware dot org" <newlib at sourceware dot org>
- Date: Wed, 27 Aug 2014 14:51:49 -0500
- 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> <201408271927 dot s7RJR5NQ008637 at greed dot delorie dot com>
I was hoping for a big set of new language guards. :)
But thanks. :)
On 8/27/2014 2:27 PM, DJ Delorie wrote:
>>> <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));
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985