summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/rindex.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-06-11 21:08:16 +0000
committerderaadt <deraadt@openbsd.org>2003-06-11 21:08:16 +0000
commit86b54bb2dc6aec91522eca6d443b842bd4bd9342 (patch)
tree0e00cbd0851694ae7a727106329ae79a5c5bec59 /lib/libc/string/rindex.c
parentoops (diff)
downloadwireguard-openbsd-86b54bb2dc6aec91522eca6d443b842bd4bd9342.tar.xz
wireguard-openbsd-86b54bb2dc6aec91522eca6d443b842bd4bd9342.zip
ansification; pval ok
Diffstat (limited to 'lib/libc/string/rindex.c')
-rw-r--r--lib/libc/string/rindex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/string/rindex.c b/lib/libc/string/rindex.c
index 317962fdd65..b880d0eaeba 100644
--- a/lib/libc/string/rindex.c
+++ b/lib/libc/string/rindex.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: rindex.c,v 1.4 2003/06/02 20:18:38 millert Exp $";
+static char *rcsid = "$OpenBSD: rindex.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include <string.h>
@@ -40,7 +40,7 @@ strrchr(const char *p, int ch)
rindex(const char *p, int ch)
#endif
{
- register char *save;
+ char *save;
for (save = NULL;; ++p) {
if (*p == ch)