Hack out broken WEAK junk. TEXTUTILS-1_18
authorJim Meyering <jim@meyering.net>
Fri, 24 May 1996 03:06:01 +0000 (03:06 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 24 May 1996 03:06:01 +0000 (03:06 +0000)
lib/strtol.c

index 2738ad8..b2336a1 100644 (file)
@@ -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