diff options
author | ps <ps@FreeBSD.org> | 2002-01-07 20:37:09 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2002-01-07 20:37:09 +0000 |
commit | beaaa84fd0e7d42986a94208748065f685e9d6fe (patch) | |
tree | 20612717e5ecd1a4dbd5dd8b2498580eaaeb1fee /contrib/less/search.c | |
parent | 1c0805000f77e569bd5ec950432de68a3854137a (diff) | |
download | FreeBSD-src-beaaa84fd0e7d42986a94208748065f685e9d6fe.zip FreeBSD-src-beaaa84fd0e7d42986a94208748065f685e9d6fe.tar.gz |
Merge vendor changes onto mainline.
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 ff00a31..dd7e2c8 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 - |