diff options
author | ed <ed@FreeBSD.org> | 2009-06-03 08:16:34 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-06-03 08:16:34 +0000 |
commit | b51e9aaf240c98d36726ac5aab7b0edf17ffcec7 (patch) | |
tree | 16aa6a4333e2c0dd7e361d0970cdcef053d6fcce /lib/msun/src/math_private.h | |
parent | 81faf87a47085ec201126dfc2517c052fd878b14 (diff) | |
download | FreeBSD-src-b51e9aaf240c98d36726ac5aab7b0edf17ffcec7.zip FreeBSD-src-b51e9aaf240c98d36726ac5aab7b0edf17ffcec7.tar.gz |
Use ISO C99 style inline semantics in msun.
Because we use ISO C99 nowadays, we can just get rid of enforcing
GNU89-style inlining.
Diffstat (limited to 'lib/msun/src/math_private.h')
-rw-r--r-- | lib/msun/src/math_private.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/msun/src/math_private.h b/lib/msun/src/math_private.h index 49553db..2d88da1 100644 --- a/lib/msun/src/math_private.h +++ b/lib/msun/src/math_private.h @@ -345,15 +345,30 @@ irint(double x) int __kernel_rem_pio2(double*,double*,int,int,int); /* double precision kernel functions */ +#ifdef INLINE_REM_PIO2 +__inline +#endif int __ieee754_rem_pio2(double,double*); double __kernel_sin(double,double,int); double __kernel_cos(double,double); double __kernel_tan(double,double,int); /* float precision kernel functions */ +#ifdef INLINE_REM_PIO2F +__inline +#endif int __ieee754_rem_pio2f(float,double*); +#ifdef INLINE_KERNEL_SINDF +__inline +#endif float __kernel_sindf(double); +#ifdef INLINE_KERNEL_COSDF +__inline +#endif float __kernel_cosdf(double); +#ifdef INLINE_KERNEL_TANDF +__inline +#endif float __kernel_tandf(double,int); /* long double precision kernel functions */ |