summaryrefslogtreecommitdiffstats
path: root/sys/compat/opensolaris/kern/opensolaris_string.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/opensolaris/kern/opensolaris_string.c')
-rw-r--r--sys/compat/opensolaris/kern/opensolaris_string.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/sys/compat/opensolaris/kern/opensolaris_string.c b/sys/compat/opensolaris/kern/opensolaris_string.c
index cae984f..4448f34 100644
--- a/sys/compat/opensolaris/kern/opensolaris_string.c
+++ b/sys/compat/opensolaris/kern/opensolaris_string.c
@@ -32,37 +32,6 @@
(((c) >= 'a' && (c) <= 'z') || ((c) >= 'A' && (c) <= 'Z'))
char *
-strchr(const char *s, int c)
-{
- char ch;
-
- ch = c;
- for (;; ++s) {
- if (*s == ch)
- return ((char *)s);
- if (*s == '\0')
- return (NULL);
- }
- /* NOTREACHED */
-}
-
-char *
-strrchr(const char *s, int c)
-{
- char *save;
- char ch;
-
- ch = c;
- for (save = NULL;; ++s) {
- if (*s == ch)
- save = (char *)s;
- if (*s == '\0')
- return (save);
- }
- /* NOTREACHED */
-}
-
-char *
strpbrk(const char *s, const char *b)
{
const char *p;
OpenPOWER on IntegriCloud