about summary refs log tree commit diff
path: root/stdlib/strtod.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/strtod.c')
-rw-r--r--stdlib/strtod.c6
1 files changed, 3 insertions, 3 deletions
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)