diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | math/math_private.h | 20 |
2 files changed, 14 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog index 6b7d10c597..c67c47162e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-09-26 Ulrich Drepper <drepper@redhat.com> + * math/math_private.h: Don't add long double prototypes if + NO_LONG_DOUBLE is defined. + * sysdeps/unix/i386/i586/clock_nanosleep.c (CLOCK_P): Remove CLOCK_MONOTONIC. * sysdeps/unix/i386/i586/clock_gettime.c (EXTRA_CLOCK_CASES): Likewise. diff --git a/math/math_private.h b/math/math_private.h index 280f81d1b6..f3d1f233cf 100644 --- a/math/math_private.h +++ b/math/math_private.h @@ -267,23 +267,25 @@ extern void __kernel_sincosl (long double,long double, extern int __kernel_rem_pio2l (long double*,long double*,int,int, int,const int*); +#ifndef NO_LONG_DOUBLE /* prototypes required to compile the ldbl-96 support without warnings */ extern int __finitel (long double); -extern int __ilogbl(long double); +extern int __ilogbl (long double); extern int __isinfl (long double); -extern int __isnanl(long double); +extern int __isnanl (long double); extern long double __atanl (long double); -extern long double __copysignl(long double, long double); +extern long double __copysignl (long double, long double); extern long double __expm1l (long double); -extern long double __floorl(long double); -extern long double __frexpl(long double, int *); -extern long double __ldexpl(long double, int); +extern long double __floorl (long double); +extern long double __frexpl (long double, int *); +extern long double __ldexpl (long double, int); extern long double __log1pl (long double); extern long double __nanl (const char *); -extern long double __rintl(long double); +extern long double __rintl (long double); extern long double __scalbnl (long double, int); -extern long double __sqrtl(long double x); -extern long double fabsl(long double x); +extern long double __sqrtl (long double x); +extern long double fabsl (long double x); extern void __sincosl (long double, long double *, long double *); +#endif #endif /* _MATH_PRIVATE_H_ */ |