summaryrefslogtreecommitdiff
path: root/stdlib/strtol.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/strtol.c')
-rw-r--r--stdlib/strtol.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/strtol.c b/stdlib/strtol.c
index 8c1a683880..d52f338c84 100644
--- a/stdlib/strtol.c
+++ b/stdlib/strtol.c
@@ -277,10 +277,6 @@ noconv:
/* External user entry point. */
-#ifdef weak_symbol
-weak_symbol (strtol)
-#endif
-
INT
strtol (nptr, endptr, base)
const char *nptr;
@@ -289,3 +285,7 @@ strtol (nptr, endptr, base)
{
return INTERNAL (strtol) (nptr, endptr, base, 0);
}
+
+#ifdef weak_symbol
+weak_symbol (strtol)
+#endif