aboutsummaryrefslogtreecommitdiff
path: root/libiberty/index.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-09-27 20:27:58 +0000
committerDJ Delorie <dj@redhat.com>2001-09-27 20:27:58 +0000
commitfa9f0e33b3c0510267d7a41f2f4ee72ba452c37e (patch)
treeeab3f8364165c1526f7ea2a5fef4db2ebda18653 /libiberty/index.c
parent0ac8d2cabf050fa3d463a79240ef8e05db368b1f (diff)
downloadgdb-fa9f0e33b3c0510267d7a41f2f4ee72ba452c37e.zip
gdb-fa9f0e33b3c0510267d7a41f2f4ee72ba452c37e.tar.gz
gdb-fa9f0e33b3c0510267d7a41f2f4ee72ba452c37e.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/index.c')
-rw-r--r--libiberty/index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/index.c b/libiberty/index.c
index 9c2ea82..55a4acc 100644
--- a/libiberty/index.c
+++ b/libiberty/index.c
@@ -4,7 +4,7 @@
@deftypefn Supplemental char* index (char *@var{s}, int @var{c})
-Returns a pointer to the first occurance of the character @var{c} in
+Returns a pointer to the first occurrence of the character @var{c} in
the string @var{s}, or NULL if not found. The use of @code{index} is
deprecated in new programs in favor of @code{strchr}.