diff options
author | das <das@FreeBSD.org> | 2009-01-13 05:13:20 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2009-01-13 05:13:20 +0000 |
commit | bbd91baa0811e56a7f0350781dafdf966fff47dc (patch) | |
tree | a57bf00987a99f5ee94d8cbddbb368173670fc76 /lib/msun/src | |
parent | 5307e1d148524a5f7628b9f7a868fa9fe2bdd3f3 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | lib/msun/src/e_rem_pio2.c | 2 | ||||
-rw-r--r-- | lib/msun/src/e_rem_pio2f.c | 2 | ||||
-rw-r--r-- | lib/msun/src/k_cosf.c | 2 | ||||
-rw-r--r-- | lib/msun/src/k_sinf.c | 2 | ||||
-rw-r--r-- | lib/msun/src/k_tanf.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/lib/msun/src/e_rem_pio2.c b/lib/msun/src/e_rem_pio2.c index f68df9a..f94efe5 100644 --- a/lib/msun/src/e_rem_pio2.c +++ b/lib/msun/src/e_rem_pio2.c @@ -49,7 +49,7 @@ pio2_3 = 2.02226624871116645580e-21, /* 0x3BA3198A, 0x2E000000 */ pio2_3t = 8.47842766036889956997e-32; /* 0x397B839A, 0x252049C1 */ #ifdef INLINE_REM_PIO2 -extern inline +extern __gnu89_inline #endif int __ieee754_rem_pio2(double x, double *y) diff --git a/lib/msun/src/e_rem_pio2f.c b/lib/msun/src/e_rem_pio2f.c index e07694c..7ec7b95 100644 --- a/lib/msun/src/e_rem_pio2f.c +++ b/lib/msun/src/e_rem_pio2f.c @@ -41,7 +41,7 @@ pio2_1 = 1.57079631090164184570e+00, /* 0x3FF921FB, 0x50000000 */ pio2_1t = 1.58932547735281966916e-08; /* 0x3E5110b4, 0x611A6263 */ #ifdef INLINE_REM_PIO2F -extern inline +extern __gnu89_inline #endif int __ieee754_rem_pio2f(float x, double *y) 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) diff --git a/lib/msun/src/k_sinf.c b/lib/msun/src/k_sinf.c index e390b50..c1b1d85 100644 --- a/lib/msun/src/k_sinf.c +++ b/lib/msun/src/k_sinf.c @@ -30,7 +30,7 @@ S3 = -0x1a00f9e2cae774.0p-65, /* -0.000198393348360966317347 */ S4 = 0x16cd878c3b46a7.0p-71; /* 0.0000027183114939898219064 */ #ifdef INLINE_KERNEL_SINDF -extern inline +extern __gnu89_inline #endif float __kernel_sindf(double x) diff --git a/lib/msun/src/k_tanf.c b/lib/msun/src/k_tanf.c index f8152e2..d8b1ebf 100644 --- a/lib/msun/src/k_tanf.c +++ b/lib/msun/src/k_tanf.c @@ -33,7 +33,7 @@ T[] = { }; #ifdef INLINE_KERNEL_TANDF -extern inline +extern __gnu89_inline #endif float __kernel_tandf(double x, int iy) |