aboutsummaryrefslogtreecommitdiff
path: root/libiberty/rindex.c
diff options
context:
space:
mode:
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 9c25dff..ef9cdc5 100644
--- a/libiberty/rindex.c
+++ b/libiberty/rindex.c
@@ -5,7 +5,7 @@
@deftypefn Supplemental char* rindex (const char *@var{s}, int @var{c})
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
+the string @var{s}, or @code{NULL} if not found. The use of @code{rindex} is
deprecated in new programs in favor of @code{strrchr}.
@end deftypefn