svn commit: r187128 - head/lib/msun/src

David Schultz das at FreeBSD.org
Mon Jan 12 21:13:21 PST 2009


Author: das
Date: Tue Jan 13 05:13:20 2009
New Revision: 187128
URL: http://svn.freebsd.org/changeset/base/187128

Log:
  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

Modified:
  head/lib/msun/src/e_rem_pio2.c
  head/lib/msun/src/e_rem_pio2f.c
  head/lib/msun/src/k_cosf.c
  head/lib/msun/src/k_sinf.c
  head/lib/msun/src/k_tanf.c

Modified: head/lib/msun/src/e_rem_pio2.c
==============================================================================
--- head/lib/msun/src/e_rem_pio2.c	Tue Jan 13 04:57:25 2009	(r187127)
+++ head/lib/msun/src/e_rem_pio2.c	Tue Jan 13 05:13:20 2009	(r187128)
@@ -49,7 +49,7 @@ pio2_3  =  2.02226624871116645580e-21, /
 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)

Modified: head/lib/msun/src/e_rem_pio2f.c
==============================================================================
--- head/lib/msun/src/e_rem_pio2f.c	Tue Jan 13 04:57:25 2009	(r187127)
+++ head/lib/msun/src/e_rem_pio2f.c	Tue Jan 13 05:13:20 2009	(r187128)
@@ -41,7 +41,7 @@ pio2_1  =  1.57079631090164184570e+00, /
 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)

Modified: head/lib/msun/src/k_cosf.c
==============================================================================
--- head/lib/msun/src/k_cosf.c	Tue Jan 13 04:57:25 2009	(r187127)
+++ head/lib/msun/src/k_cosf.c	Tue Jan 13 05:13:20 2009	(r187128)
@@ -31,7 +31,7 @@ C2  = -0x16c087e80f1e27.0p-62,	/* -0.001
 C3  =  0x199342e0ee5069.0p-68;	/*  0.0000243904487962774090654 */
 
 #ifdef INLINE_KERNEL_COSDF
-extern inline
+extern __gnu89_inline
 #endif
 float
 __kernel_cosdf(double x)

Modified: head/lib/msun/src/k_sinf.c
==============================================================================
--- head/lib/msun/src/k_sinf.c	Tue Jan 13 04:57:25 2009	(r187127)
+++ head/lib/msun/src/k_sinf.c	Tue Jan 13 05:13:20 2009	(r187128)
@@ -30,7 +30,7 @@ S3 = -0x1a00f9e2cae774.0p-65,	/* -0.0001
 S4 =  0x16cd878c3b46a7.0p-71;	/*  0.0000027183114939898219064 */
 
 #ifdef INLINE_KERNEL_SINDF
-extern inline
+extern __gnu89_inline
 #endif
 float
 __kernel_sindf(double x)

Modified: head/lib/msun/src/k_tanf.c
==============================================================================
--- head/lib/msun/src/k_tanf.c	Tue Jan 13 04:57:25 2009	(r187127)
+++ head/lib/msun/src/k_tanf.c	Tue Jan 13 05:13:20 2009	(r187128)
@@ -33,7 +33,7 @@ T[] =  {
 };
 
 #ifdef INLINE_KERNEL_TANDF
-extern inline
+extern __gnu89_inline
 #endif
 float
 __kernel_tandf(double x, int iy)


More information about the svn-src-head mailing list