summaryrefslogtreecommitdiff
path: root/libiberty/rindex.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@is.elta.co.il>2001-09-27 21:55:37 +0200
committerDJ Delorie <dj@gcc.gnu.org>2001-09-27 15:55:37 -0400
commite922f9785cea44a5923598d4e7a72352a42df737 (patch)
tree480abcb54fa75ec1846629eeafcf764889c4f370 /libiberty/rindex.c
parentae9092da9647424668486f76d322bbc8351857c4 (diff)
downloadgcc-e922f9785cea44a5923598d4e7a72352a42df737.tar.gz
libiberty.texi: (Top level): Add syncodeindex pg.
* libiberty.texi: (Top level): Add syncodeindex pg. Add @dircategory and @direntry directives. Add @finalout. (many nodes): Lose the next,prev,up pointers on the @nide line. (Using, Supplemental Functions, Replacement Functions): Fix markup. (Functions): Move around, to allow makeinfo to build the manual without next,prev,up pointers in thye node lines. (Licenses): Fix typos. * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c, strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup. * functions.texi: Regenerate. * copying-lib.texi: Lose the next,prev,up pointers on the @node line. From-SVN: r45847
Diffstat (limited to 'libiberty/rindex.c')
-rw-r--r--libiberty/rindex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/rindex.c b/libiberty/rindex.c
index ce397cc6029..9c25dff4dcc 100644
--- a/libiberty/rindex.c
+++ b/libiberty/rindex.c
@@ -4,7 +4,7 @@
@deftypefn Supplemental char* rindex (const char *@var{s}, int @var{c})
-Returns a pointer to the last occurance of the character @var{c} in
+Returns a pointer to the last occurrence of the character @var{c} in
the string @var{s}, or NULL if not found. The use of @code{rindex} is
deprecated in new programs in favor of @code{strrchr}.