This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C99 anomolies... ?


> > <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));


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]