about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2001-06-15 13:59:28 +0000
committerAndreas Schwab <schwab@suse.de>2001-06-15 13:59:28 +0000
commitc1bbb195dfe0d636cb1759de25879e83dca9dc12 (patch)
treeefde3b4cfd6e801f23917da29cecf2b33d4d4c5d
parent6a9a03d69c5a8a7ef90d323b7af305641895bbff (diff)
downloadglibc-c1bbb195dfe0d636cb1759de25879e83dca9dc12.tar.gz
glibc-c1bbb195dfe0d636cb1759de25879e83dca9dc12.tar.xz
glibc-c1bbb195dfe0d636cb1759de25879e83dca9dc12.zip
* sysdeps/m68k/fpu/bits/mathinline.h: Don't define log2 as inline.
* sysdeps/m68k/fpu/mathimpl.h: Define __ieee754_log2 as inline.
-rw-r--r--sysdeps/m68k/fpu/bits/mathinline.h2
-rw-r--r--sysdeps/m68k/fpu/mathimpl.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/m68k/fpu/bits/mathinline.h b/sysdeps/m68k/fpu/bits/mathinline.h
index 82446d27d9..cb59773f16 100644
--- a/sysdeps/m68k/fpu/bits/mathinline.h
+++ b/sysdeps/m68k/fpu/bits/mathinline.h
@@ -134,7 +134,6 @@ __inline_mathop(__significand, getman)
 #endif
 
 #ifdef __USE_ISOC99
-__inline_mathop(__log2, log2)
 __inline_mathop(__trunc, intrz)
 #endif
 
@@ -157,7 +156,6 @@ __inline_mathop(significand, getman)
 # endif
 
 # ifdef __USE_ISOC99
-__inline_mathop(log2, log2)
 __inline_mathop(trunc, intrz)
 # endif
 
diff --git a/sysdeps/m68k/fpu/mathimpl.h b/sysdeps/m68k/fpu/mathimpl.h
index a2785b21b4..7fa8144118 100644
--- a/sysdeps/m68k/fpu/mathimpl.h
+++ b/sysdeps/m68k/fpu/mathimpl.h
@@ -29,6 +29,7 @@ __inline_mathop	(__ieee754_exp, etox)
 __inline_mathop	(__ieee754_exp2, twotox)
 __inline_mathop	(__ieee754_exp10, tentox)
 __inline_mathop	(__ieee754_log10, log10)
+__inline_mathop	(__ieee754_log2, log2)
 __inline_mathop	(__ieee754_log, logn)
 __inline_mathop	(__ieee754_sqrt, sqrt)
 __inline_mathop	(__ieee754_atanh, atanh)