summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-11-16 07:59:12 +0000
committerRoland McGrath <roland@gnu.org>1999-11-16 07:59:12 +0000
commit363b8b12af1fd811efbb9821912dae6d2cedbd89 (patch)
tree62f71863390061e0ca951a42a8bd8f43b16361c7
parentcac82825fe83d203c979a2ca30bd7b76869cf78f (diff)
1999-11-16 Roland McGrath <roland@baalperazim.frob.com>
* strfcns.c (index): Function removed.
-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;
-}