summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--serverboot/strfcns.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/serverboot/strfcns.c b/serverboot/strfcns.c
index 85e5eb83..82a76728 100644
--- a/serverboot/strfcns.c
+++ b/serverboot/strfcns.c
@@ -73,22 +73,3 @@ strprefix(s1, s2)
}
return (TRUE);
}
-
-/*
- * Return a pointer to the first occurence of 'c' in
- * string s, or 0 if none.
- */
-char *
-index(s, c)
- char *s;
- char c;
-{
- char cc;
-
- while ((cc = *s) != c) {
- if (cc == 0)
- return 0;
- s++;
- }
- return s;
-}