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_sinf.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_sinf.c')
-rw-r--r-- | lib/msun/src/k_sinf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/msun/src/k_sinf.c b/lib/msun/src/k_sinf.c index aa4f268..0841759 100644 --- a/lib/msun/src/k_sinf.c +++ b/lib/msun/src/k_sinf.c @@ -29,10 +29,10 @@ S2 = 0x111110896efbb2.0p-59, /* 0.0083333293858894631756 */ S3 = -0x1a00f9e2cae774.0p-65, /* -0.000198393348360966317347 */ S4 = 0x16cd878c3b46a7.0p-71; /* 0.0000027183114939898219064 */ -#ifndef INLINE_KERNEL_SINDF -extern +#ifdef INLINE_KERNEL_SINDF +static __inline #endif -__inline float +float __kernel_sindf(double x) { double r, s, w, z; |