summaryrefslogtreecommitdiffstats
path: root/binutils-2.24/libiberty/index.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-07-07 17:06:28 -0700
committerElliott Hughes <enh@google.com>2015-07-07 17:06:28 -0700
commite75a9625a658e75feee8e2e2b6d42fa03d47b26d (patch)
treed15bb9a196ea7b28219911d7c26c93585454ed1d /binutils-2.24/libiberty/index.c
parent548e866f819455e730b5981cefed80dfb9c56033 (diff)
downloadtoolchain_binutils-e75a9625a658e75feee8e2e2b6d42fa03d47b26d.zip
toolchain_binutils-e75a9625a658e75feee8e2e2b6d42fa03d47b26d.tar.gz
toolchain_binutils-e75a9625a658e75feee8e2e2b6d42fa03d47b26d.tar.bz2
Remove binutils-2.24.
Change-Id: I26a47a29e4d16e75e21e9295504079a815c334c6
Diffstat (limited to 'binutils-2.24/libiberty/index.c')
-rw-r--r--binutils-2.24/libiberty/index.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/binutils-2.24/libiberty/index.c b/binutils-2.24/libiberty/index.c
deleted file mode 100644
index acd0a45..0000000
--- a/binutils-2.24/libiberty/index.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/* Stub implementation of (obsolete) index(). */
-
-/*
-
-@deftypefn Supplemental char* index (char *@var{s}, int @var{c})
-
-Returns a pointer to the first occurrence of the character @var{c} in
-the string @var{s}, or @code{NULL} if not found. The use of @code{index} is
-deprecated in new programs in favor of @code{strchr}.
-
-@end deftypefn
-
-*/
-
-extern char * strchr(const char *, int);
-
-char *
-index (const char *s, int c)
-{
- return strchr (s, c);
-}