From: Jim Meyering Date: Fri, 24 May 1996 03:06:01 +0000 (+0000) Subject: Hack out broken WEAK junk. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fbe4218e5c597b41dbf69587eadc844b93b95b2;p=pspp Hack out broken WEAK junk. --- diff --git a/lib/strtol.c b/lib/strtol.c index 2738ad8fa0..b2336a1971 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