summaryrefslogtreecommitdiffstats
path: root/binutils-2.22/libiberty/index.c
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-06-17 15:33:58 -0700
committerDan Albert <danalbert@google.com>2015-06-17 15:33:58 -0700
commit7a1d76c6c5b354abbba43308d5061eb6ff96d3ea (patch)
tree78a639d039e517565afa35d7af021a6967bec0d9 /binutils-2.22/libiberty/index.c
parentc39479f4ab4d372b518957871e1f205a03e7c3d6 (diff)
downloadtoolchain_binutils-7a1d76c6c5b354abbba43308d5061eb6ff96d3ea.tar.gz
toolchain_binutils-7a1d76c6c5b354abbba43308d5061eb6ff96d3ea.tar.bz2
toolchain_binutils-7a1d76c6c5b354abbba43308d5061eb6ff96d3ea.zip
Remove old versions of binutils.
Change-Id: If634d8d30cfa8c88ca3ba59691a0df4ee5596f85
Diffstat (limited to 'binutils-2.22/libiberty/index.c')
-rw-r--r--binutils-2.22/libiberty/index.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/binutils-2.22/libiberty/index.c b/binutils-2.22/libiberty/index.c
deleted file mode 100644
index acd0a45f..00000000
--- a/binutils-2.22/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);
-}