summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-07-08 10:21:07 +0000
committerRoland McGrath <roland@gnu.org>1996-07-08 10:21:07 +0000
commit7702f9b5a9322a66a63e9cc94f29b252b19642c0 (patch)
treef1b9df0cc696f2af150928e2887b36414011900a
parentaf5b3bc33bbaf9151c34a351bdb257b90d407d5b (diff)
downloadglibc-7702f9b5a9322a66a63e9cc94f29b252b19642c0.tar.gz
glibc-7702f9b5a9322a66a63e9cc94f29b252b19642c0.tar.xz
glibc-7702f9b5a9322a66a63e9cc94f29b252b19642c0.zip
* stdlib/strtod.c: Likewise.
-rw-r--r--ChangeLog1
-rw-r--r--stdlib/strtod.c6
2 files changed, 4 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b64c8e3668..6cfbd1bcad 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,6 +16,7 @@ Mon Jul  8 00:11:15 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
 	* elf/dl-minimal.c: Use weak_function as keyword in function defns
  	instead of weak_symbol (NAME) after the defn.
 	* stdlib/strtol.c: Likewise.
+	* stdlib/strtod.c: Likewise.
 	* sysdeps/mach/hurd/dl-sysdep.c: Likewise.
 
 	* sysdeps/alpha/dl-machine.h (elf_machine_rela) [RTLD_BOOTSTRAP]:
diff --git a/stdlib/strtod.c b/stdlib/strtod.c
index 898542649c..6f3ea26c0f 100644
--- a/stdlib/strtod.c
+++ b/stdlib/strtod.c
@@ -1167,12 +1167,12 @@ INTERNAL (STRTOF) (nptr, endptr, group)
 /* External user entry point.  */
 
 FLOAT
+#ifdef weak_function
+weak_function
+#endif
 STRTOF (nptr, endptr)
      const STRING_TYPE *nptr;
      STRING_TYPE **endptr;
 {
   return INTERNAL (STRTOF) (nptr, endptr, 0);
 }
-
-#define weak_this(x) weak_symbol(x)
-weak_this (STRTOF)