diff options
author | dim <dim@FreeBSD.org> | 2012-08-11 11:13:48 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2012-08-11 11:13:48 +0000 |
commit | d3224b8ca5f865af7b35f0443b1128ba4fa6f1b4 (patch) | |
tree | dd9b2d612e350756897aa331995735959d05ecf5 /lib/msun/src/k_tanf.c | |
parent | e70ae9c439dfc7dae667e62f9ae2cffde3818e09 (diff) | |
download | FreeBSD-src-d3224b8ca5f865af7b35f0443b1128ba4fa6f1b4.zip FreeBSD-src-d3224b8ca5f865af7b35f0443b1128ba4fa6f1b4.tar.gz |
Change a few extern inline functions in libm to static inline, since
they need to refer to static constants, which C99 does not allow for
extern inline functions.
While here, change a comment in e_rem_pio2f.c to mention the correct
number of bits.
Reviewed by: bde
MFC after: 1 week
Diffstat (limited to 'lib/msun/src/k_tanf.c')
-rw-r--r-- | lib/msun/src/k_tanf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/msun/src/k_tanf.c b/lib/msun/src/k_tanf.c index 6b073da..52f1aaa 100644 --- a/lib/msun/src/k_tanf.c +++ b/lib/msun/src/k_tanf.c @@ -32,10 +32,10 @@ T[] = { 0x1362b9bf971bcd.0p-59, /* 0.00946564784943673166728 */ }; -#ifndef INLINE_KERNEL_TANDF -extern +#ifdef INLINE_KERNEL_TANDF +static __inline #endif -__inline float +float __kernel_tandf(double x, int iy) { double z,r,w,s,t,u; |