summaryrefslogtreecommitdiffstats
path: root/lib/msun/src
diff options
context:
space:
mode:
authorkargl <kargl@FreeBSD.org>2014-08-09 15:53:40 +0000
committerkargl <kargl@FreeBSD.org>2014-08-09 15:53:40 +0000
commit3bdfd7a933aca498a8ae3646cc4c66e8275d5c9b (patch)
tree63d33a54d5b28aba1c11ff6aaa17678f2269e8a8 /lib/msun/src
parent9f6eff7a405c28c295923582577ab823cc135b71 (diff)
downloadFreeBSD-src-3bdfd7a933aca498a8ae3646cc4c66e8275d5c9b.zip
FreeBSD-src-3bdfd7a933aca498a8ae3646cc4c66e8275d5c9b.tar.gz
When r255294 was committed, it exposed the symbols lgammal, powl,
and tgammal in libm. These functions are part of ISO/IEC 9899:1999 and their prototypes should have been moved into the appropriate __ISO_C_VISIBLE >= 1999 section. After moving the prototypes, remnants of r236148 can be removed. PR: standards/191754 Reviewed by: bde
Diffstat (limited to 'lib/msun/src')
-rw-r--r--lib/msun/src/math.h25
1 files changed, 3 insertions, 22 deletions
diff --git a/lib/msun/src/math.h b/lib/msun/src/math.h
index 32d01da..e4e5682 100644
--- a/lib/msun/src/math.h
+++ b/lib/msun/src/math.h
@@ -465,6 +465,7 @@ long double frexpl(long double value, int *); /* fundamentally !__pure2 */
long double hypotl(long double, long double);
int ilogbl(long double) __pure2;
long double ldexpl(long double, int);
+long double lgammal(long double);
long long llrintl(long double);
long long llroundl(long double);
long double log10l(long double);
@@ -481,6 +482,7 @@ long double nextafterl(long double, long double);
double nexttoward(double, long double);
float nexttowardf(float, long double);
long double nexttowardl(long double, long double);
+long double powl(long double, long double);
long double remainderl(long double, long double);
long double remquol(long double, long double, int *);
long double rintl(long double);
@@ -492,31 +494,10 @@ long double sinl(long double);
long double sqrtl(long double);
long double tanhl(long double);
long double tanl(long double);
+long double tgammal(long double);
long double truncl(long double);
#endif /* __ISO_C_VISIBLE >= 1999 */
__END_DECLS
#endif /* !_MATH_H_ */
-
-/* separate header for cmath */
-#ifndef _MATH_EXTRA_H_
-#if __ISO_C_VISIBLE >= 1999
-#if _DECLARE_C99_LDBL_MATH
-
-#define _MATH_EXTRA_H_
-
-/*
- * extra long double versions of math functions for C99 and cmath
- */
-__BEGIN_DECLS
-
-long double lgammal(long double);
-long double powl(long double, long double);
-long double tgammal(long double);
-
-__END_DECLS
-
-#endif /* !_DECLARE_C99_LDBL_MATH */
-#endif /* __ISO_C_VISIBLE >= 1999 */
-#endif /* !_MATH_EXTRA_H_ */
OpenPOWER on IntegriCloud