From: Roland McGrath Date: Sun, 22 Jan 1995 20:28:20 +0000 (+0000) Subject: [weak_alias] (index): Define as weak alias for strchr. X-Git-Tag: glibc-2.16-ports-before-merge~3981 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cc8aa8bf32b3b75564675cc9afc568acc9d48b11;p=thirdparty%2Fglibc.git [weak_alias] (index): Define as weak alias for strchr. --- diff --git a/sysdeps/alpha/strchr.c b/sysdeps/alpha/strchr.c index 666e0c0196c..69afa4b87f3 100644 --- a/sysdeps/alpha/strchr.c +++ b/sysdeps/alpha/strchr.c @@ -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