about summary refs log tree commit diff
diff options
context:
space:
mode:
-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)