summaryrefslogtreecommitdiff
path: root/serverboot/strfcns.c
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
commitf7796d16d3e37778bf200237228c68763c9a33d5 (patch)
tree8d9e0da10b9c5a8020f2fc3e3752fbaaabb31b88 /serverboot/strfcns.c
parent743b8a0429a4801b696c4b10cb262e638b94002c (diff)
1999-11-16 Roland McGrath <roland@baalperazim.frob.com>
* strfcns.c (index): Function removed.
Diffstat (limited to 'serverboot/strfcns.c')
-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;
-}