summaryrefslogtreecommitdiff
path: root/lib/strtol.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-05-24 03:06:01 +0000
committerJim Meyering <jim@meyering.net>1996-05-24 03:06:01 +0000
commitd2d2d043ff4ccc2de07ac09353369c854e418d31 (patch)
treea674d0894eca2ba1a15544277a1bf3d2d18bdf91 /lib/strtol.c
parentafd4dcf3b2ba00ac635414b0b6a25e7e96a351a2 (diff)
downloadcoreutils-d2d2d043ff4ccc2de07ac09353369c854e418d31.tar.xz
Hack out broken WEAK junk.
Diffstat (limited to 'lib/strtol.c')
-rw-r--r--lib/strtol.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/strtol.c b/lib/strtol.c
index 2738ad8fa..b2336a197 100644
--- a/lib/strtol.c
+++ b/lib/strtol.c
@@ -348,22 +348,15 @@ noconv:
#endif
/* Prototype. */
-INT WEAKNAME (strtol) __P ((const STRING_TYPE *nptr, STRING_TYPE **endptr,
+INT strtol __P ((const STRING_TYPE *nptr, STRING_TYPE **endptr,
int base));
INT
-WEAKNAME (strtol) (nptr, endptr, base)
+strtol (nptr, endptr, base)
const STRING_TYPE *nptr;
STRING_TYPE **endptr;
int base;
{
return INTERNAL (strtol) (nptr, endptr, base, 0);
}
-
-#ifdef weak_alias
-/* We need this indirection when `strtol' is defined as a macro
- for one of the other names. */
-#define weak1(x, y) weak_alias (x, y)
-weak1 (WEAKNAME (strtol), strtol)
-#endif