summaryrefslogtreecommitdiffstats
path: root/lib/msun/src/k_cosf.c
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2009-01-13 05:13:20 +0000
committerdas <das@FreeBSD.org>2009-01-13 05:13:20 +0000
commitbbd91baa0811e56a7f0350781dafdf966fff47dc (patch)
treea57bf00987a99f5ee94d8cbddbb368173670fc76 /lib/msun/src/k_cosf.c
parent5307e1d148524a5f7628b9f7a868fa9fe2bdd3f3 (diff)
downloadFreeBSD-src-bbd91baa0811e56a7f0350781dafdf966fff47dc.zip
FreeBSD-src-bbd91baa0811e56a7f0350781dafdf966fff47dc.tar.gz
Use __gnu89_inline so that these files will compile with newer versions
of gcc, where the meaning of 'inline' was changed to match C99. Noticed by: rdivacky
Diffstat (limited to 'lib/msun/src/k_cosf.c')
-rw-r--r--lib/msun/src/k_cosf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msun/src/k_cosf.c b/lib/msun/src/k_cosf.c
index 30c301a..5084e85 100644
--- a/lib/msun/src/k_cosf.c
+++ b/lib/msun/src/k_cosf.c
@@ -31,7 +31,7 @@ C2 = -0x16c087e80f1e27.0p-62, /* -0.00138867637746099294692 */
C3 = 0x199342e0ee5069.0p-68; /* 0.0000243904487962774090654 */
#ifdef INLINE_KERNEL_COSDF
-extern inline
+extern __gnu89_inline
#endif
float
__kernel_cosdf(double x)
OpenPOWER on IntegriCloud