diff options
Diffstat (limited to 'contrib/less/search.c')
-rw-r--r-- | contrib/less/search.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/contrib/less/search.c b/contrib/less/search.c index 1aff4dfc83ba..31133fb0f005 100644 --- a/contrib/less/search.c +++ b/contrib/less/search.c @@ -1341,21 +1341,3 @@ regerror(s) } #endif -#if !HAVE_STRCHR -/* - * strchr is used by regexp.c. - */ - char * -strchr(s, c) - char *s; - int c; -{ - for ( ; *s != '\0'; s++) - if (*s == c) - return (s); - if (c == '\0') - return (s); - return (NULL); -} -#endif - |