diff options
Diffstat (limited to 'src/lib/libc/string/rindex.c')
-rw-r--r-- | src/lib/libc/string/rindex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/string/rindex.c b/src/lib/libc/string/rindex.c index 317962fdd6..b880d0eaeb 100644 --- a/src/lib/libc/string/rindex.c +++ b/src/lib/libc/string/rindex.c | |||
@@ -28,7 +28,7 @@ | |||
28 | */ | 28 | */ |
29 | 29 | ||
30 | #if defined(LIBC_SCCS) && !defined(lint) | 30 | #if defined(LIBC_SCCS) && !defined(lint) |
31 | static char *rcsid = "$OpenBSD: rindex.c,v 1.4 2003/06/02 20:18:38 millert Exp $"; | 31 | static char *rcsid = "$OpenBSD: rindex.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $"; |
32 | #endif /* LIBC_SCCS and not lint */ | 32 | #endif /* LIBC_SCCS and not lint */ |
33 | 33 | ||
34 | #include <string.h> | 34 | #include <string.h> |
@@ -40,7 +40,7 @@ strrchr(const char *p, int ch) | |||
40 | rindex(const char *p, int ch) | 40 | rindex(const char *p, int ch) |
41 | #endif | 41 | #endif |
42 | { | 42 | { |
43 | register char *save; | 43 | char *save; |
44 | 44 | ||
45 | for (save = NULL;; ++p) { | 45 | for (save = NULL;; ++p) { |
46 | if (*p == ch) | 46 | if (*p == ch) |