about summary refs log tree commit diff
path: root/sysdeps/ieee754
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-02-01 19:47:57 +0000
committerRoland McGrath <roland@gnu.org>2006-02-01 19:47:57 +0000
commit1ffb413122b42d5ffbc23266c509180be4500e45 (patch)
treec10e4a955ca1211212b4406314f21fc7093753f7 /sysdeps/ieee754
parentd36421fa255cdd931c18ad03cfda435e7897ef10 (diff)
downloadglibc-1ffb413122b42d5ffbc23266c509180be4500e45.tar.gz
glibc-1ffb413122b42d5ffbc23266c509180be4500e45.tar.xz
glibc-1ffb413122b42d5ffbc23266c509180be4500e45.zip
* sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Use long_double_symbol
	even for libm.

	* libio/bits/libio-ldbl.h (_IO_vfwscanf, _IO_vfwprintf): Remove
	__LDBL_REDIR_DECL.
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r--sysdeps/ieee754/ldbl-128ibm/s_finitel.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sysdeps/ieee754/ldbl-128ibm/s_finitel.c b/sysdeps/ieee754/ldbl-128ibm/s_finitel.c
index 142d3ed90b..49f2c92385 100644
--- a/sysdeps/ieee754/ldbl-128ibm/s_finitel.c
+++ b/sysdeps/ieee754/ldbl-128ibm/s_finitel.c
@@ -35,8 +35,11 @@ ___finitel (long double x)
 				 -0x7ff0000000000000LL)>>63);
 }
 hidden_ver (___finitel, __finitel)
-#ifndef IS_IN_libm
 weak_alias (___finitel, ____finitel)
-long_double_symbol (libc, ___finitel, finitel);
-long_double_symbol (libc, ____finitel, __finitel);
+#ifdef IS_IN_libm
+long_double_symbol (libm, ____finitel, finitel);
+long_double_symbol (libm, ___finitel, __finitel);
+#else
+long_double_symbol (libc, ____finitel, finitel);
+long_double_symbol (libc, ___finitel, __finitel);
 #endif