diff options
Diffstat (limited to 'src/lib/libc/string/rindex.c')
-rw-r--r-- | src/lib/libc/string/rindex.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libc/string/rindex.c b/src/lib/libc/string/rindex.c index bf9d6f7cf1..23716f6af3 100644 --- a/src/lib/libc/string/rindex.c +++ b/src/lib/libc/string/rindex.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rindex.c,v 1.6 2005/08/08 08:05:37 espie Exp $ */ | 1 | /* $OpenBSD: rindex.c,v 1.7 2014/11/30 19:43:56 deraadt Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 1988 Regents of the University of California. | 3 | * Copyright (c) 1988 Regents of the University of California. |
4 | * All rights reserved. | 4 | * All rights reserved. |
@@ -31,11 +31,7 @@ | |||
31 | #include <string.h> | 31 | #include <string.h> |
32 | 32 | ||
33 | char * | 33 | char * |
34 | #ifdef STRRCHR | ||
35 | strrchr(const char *p, int ch) | ||
36 | #else | ||
37 | rindex(const char *p, int ch) | 34 | rindex(const char *p, int ch) |
38 | #endif | ||
39 | { | 35 | { |
40 | char *save; | 36 | char *save; |
41 | 37 | ||