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 ff00a311d300..dd7e2c8c247a 100644 --- a/contrib/less/search.c +++ b/contrib/less/search.c @@ -1343,21 +1343,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 - |