# HG changeset patch # User Jim Meyering # Date 832907161 0 # Node ID e046c801b312a88e2c0b46e60c7250c54a544cb9 # Parent 4c26d7d5fa6ad0fbf7c42176cbbe5c61595a8de3 Hack out broken WEAK junk. diff -r 4c26d7d5fa6a -r e046c801b312 lib/strtol.c --- a/lib/strtol.c Fri May 24 02:45:38 1996 +0000 +++ b/lib/strtol.c Fri May 24 03:06:01 1996 +0000 @@ -348,22 +348,15 @@ #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