summaryrefslogtreecommitdiffstats
path: root/contrib/less/search.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/less/search.c')
-rw-r--r--contrib/less/search.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/contrib/less/search.c b/contrib/less/search.c
index 1aff4df..31133fb 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
-
OpenPOWER on IntegriCloud