(index, rindex): Obsolete BSDisms; remove. Use standard strchr() and

strrchr() instead.
(setbuffer): Obsolete BSDism, unused; remove.
This commit is contained in:
Markus Armbruster 2004-01-08 18:15:13 +00:00
parent 4ae9c417b3
commit 64afd7747b
16 changed files with 29 additions and 227 deletions

View file

@ -84,25 +84,6 @@ void servercmd();
void ioq_drain();
#ifdef _WIN32
s_char *
index(str, c)
s_char *str;
char c;
{
static s_char *p;
p = str;
while (p && *p) {
if (*p == c)
return (s_char *)p;
p++;
}
return (s_char *)0;
}
#endif
int
main(ac, av)
int ac;