aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-05-04 15:15:17 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-05-04 15:15:17 +0000
commite8f7b10a37a703fafdfa141de8c546aeaac6fc0b (patch)
tree09f48e6f5f8d29817d3231ae06b4fd6657f30c04 /toolchain
parent16600ec90dde3d905f6884eb44bab196f42cabf2 (diff)
downloadmaster-187ad058-e8f7b10a37a703fafdfa141de8c546aeaac6fc0b.tar.gz
master-187ad058-e8f7b10a37a703fafdfa141de8c546aeaac6fc0b.tar.bz2
master-187ad058-e8f7b10a37a703fafdfa141de8c546aeaac6fc0b.zip
uclibc 0.9.29: fix isinf, finite prototypes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15588 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/uClibc/patches-0.9.29/240-math_call.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches-0.9.29/240-math_call.patch b/toolchain/uClibc/patches-0.9.29/240-math_call.patch
new file mode 100644
index 0000000000..a69fe4efd4
--- /dev/null
+++ b/toolchain/uClibc/patches-0.9.29/240-math_call.patch
@@ -0,0 +1,29 @@
+--- a/libc/sysdeps/linux/common/bits/mathcalls.h
++++ b/libc/sysdeps/linux/common/bits/mathcalls.h
+@@ -190,20 +190,20 @@
+
+ /* Return 0 if VALUE is finite or NaN, +1 if it
+ is +Infinity, -1 if it is -Infinity. */
+-__MATHDECL_1 (int,__isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));
++__MATHDECL_1 (int,isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));
+
+ /* Return nonzero if VALUE is finite and not NaN. */
+-__MATHDECL_1 (int,__finite,, (_Mdouble_ __value)) __attribute__ ((__const__));
+-_Mdouble_END_NAMESPACE
++__MATHDECL_1 (int,finite,, (_Mdouble_ __value)) __attribute__ ((__const__));
+
+-#ifdef __USE_MISC
+ /* Return 0 if VALUE is finite or NaN, +1 if it
+ is +Infinity, -1 if it is -Infinity. */
+-__MATHDECL_1 (int,isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));
++__MATHDECL_1 (int,__isinf,, (_Mdouble_ __value)) __attribute__ ((__const__));
+
+ /* Return nonzero if VALUE is finite and not NaN. */
+-__MATHDECL_1 (int,finite,, (_Mdouble_ __value)) __attribute__ ((__const__));
++__MATHDECL_1 (int,__finite,, (_Mdouble_ __value)) __attribute__ ((__const__));
++_Mdouble_END_NAMESPACE
+
++#ifdef __USE_MISC
+ /* Return the remainder of X/Y. */
+ __MATHCALL (drem,, (_Mdouble_ __x, _Mdouble_ __y));
+