summaryrefslogtreecommitdiff
path: root/libm/math_private.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-11-14 17:50:41 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-11-14 17:52:05 +0100
commit53c9f62657f222a3fefed852e1b2029033ec4014 (patch)
tree84b5b1739521d086f44d6a076288c3e4339186b9 /libm/math_private.h
parent73d6e5c41b61633e22ea74e3aa2df721512dca57 (diff)
Revert "libm: fix C99_MATH on __NO_LONG_DOUBLE_MATH hosts"
This reverts commit 73d6e5c41b61633e22ea74e3aa2df721512dca57. barking up the wrong tree Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libm/math_private.h')
-rw-r--r--libm/math_private.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/libm/math_private.h b/libm/math_private.h
index b6bea80ae..2c5a30ac2 100644
--- a/libm/math_private.h
+++ b/libm/math_private.h
@@ -255,18 +255,5 @@ extern int __kernel_rem_pio2 (double*,double*,int,int,int,const int*) attribu
#define math_force_eval(x) do { __typeof(x) __x = (x); __asm __volatile ("" : : "m" (__x)); } while (0)
#endif
-/* If we do not have long double support, then alias to the double variant. */
-#if defined __NO_LONG_DOUBLE_MATH
-# define int_WRAPPER_C99(func) \
-weak_alias(func,func##l)
-# else
-# define int_WRAPPER_C99(func) \
-int func##l(long double x) \
-{ \
- return func((double) x); \
-} \
-libm_hidden_def(func##l)
-#endif
-
#endif /* _MATH_PRIVATE_H_ */