[weak_alias] (index): Define as weak alias for strchr.
authorRoland McGrath <roland@gnu.org>
Sun, 22 Jan 1995 20:28:20 +0000 (20:28 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 22 Jan 1995 20:28:20 +0000 (20:28 +0000)
sysdeps/alpha/strchr.c

index 666e0c0..69afa4b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
 
 The GNU C Library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Library General Public License as
@@ -77,3 +77,8 @@ strchr (const char *str, int c)
        }
     }
 }
+
+#ifdef weak_alias
+#undef index
+weak_alias (strchr, index)
+#endif