changeset 20312:e046c801b312

Hack out broken WEAK junk.
author Jim Meyering <jim@meyering.net>
date Fri, 24 May 1996 03:06:01 +0000
parents 4c26d7d5fa6a
children 656d07eb2b29
files lib/strtol.c
diffstat 1 files changed, 2 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- 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