summaryrefslogtreecommitdiff
path: root/libiberty/index.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2001-10-07 22:42:23 +0000
committerDJ Delorie <dj@delorie.com>2001-10-07 22:42:23 +0000
commitf408a0c0ef4c360ad3ae96ca1e3b976587c666d5 (patch)
tree43876d6e3b21f1a2a97e6af22994999e37d6bf0f /libiberty/index.c
parent5849f895508122d117627bfddf595a51eedab5c0 (diff)
downloadgdb-f408a0c0ef4c360ad3ae96ca1e3b976587c666d5.tar.gz
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 55a4acc17c2..a2e272783b9 100644
--- a/libiberty/index.c
+++ b/libiberty/index.c
@@ -5,7 +5,7 @@
@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 NULL if not found. The use of @code{index} is
+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