about summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-01-29 19:30:15 +0000
committerRoland McGrath <roland@gnu.org>1996-01-29 19:30:15 +0000
commitb86199fb609d691b0a12761621760aa52562e195 (patch)
tree1516836553fe8f661a017a509b36f3604d82cd36 /stdlib
parent429ed67ba10dccfa6472bf803473fd20c0203309 (diff)
downloadglibc-b86199fb609d691b0a12761621760aa52562e195.tar.gz
glibc-b86199fb609d691b0a12761621760aa52562e195.tar.xz
glibc-b86199fb609d691b0a12761621760aa52562e195.zip
Set $inhibit_glue.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/strtol.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/stdlib/strtol.c b/stdlib/strtol.c
index b06063c2c5..289aa04383 100644
--- a/stdlib/strtol.c
+++ b/stdlib/strtol.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1994, 1995 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1994, 1995, 1996 Free Software Foundation, Inc.
 
 This file is part of the GNU C Library.
 
@@ -295,5 +295,8 @@ strtol (nptr, endptr, base)
 }
 
 #ifdef weak_symbol
-weak_symbol (strtol)
+/* We need this indirection when `strtol' is defined as a macro
+   for one of the other names.  */
+#define weak1(x) weak_symbol(x)
+weak1 (strtol)
 #endif