diff options
author | deraadt <> | 2003-06-11 21:08:16 +0000 |
---|---|---|
committer | deraadt <> | 2003-06-11 21:08:16 +0000 |
commit | 05ebc6b11cf74e0e9e901f2e1c26d0d682c57842 (patch) | |
tree | 0ab503c1cf313bdf01aa32f8ffd0938a3d19c2a9 /src/lib/libc/string/rindex.c | |
parent | 9b3b34e9713b6e433e3bb19fc1808375d5c69917 (diff) | |
download | openbsd-05ebc6b11cf74e0e9e901f2e1c26d0d682c57842.tar.gz openbsd-05ebc6b11cf74e0e9e901f2e1c26d0d682c57842.tar.bz2 openbsd-05ebc6b11cf74e0e9e901f2e1c26d0d682c57842.zip |
ansification; pval ok
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) |