From 363b8b12af1fd811efbb9821912dae6d2cedbd89 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 16 Nov 1999 07:59:12 +0000 Subject: 1999-11-16 Roland McGrath * strfcns.c (index): Function removed. --- serverboot/strfcns.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'serverboot') 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; -} -- cgit v1.2.3