(index, rindex): Obsolete BSDisms; remove. Use standard strchr() and
strrchr() instead. (setbuffer): Obsolete BSDism, unused; remove.
This commit is contained in:
parent
4ae9c417b3
commit
64afd7747b
16 changed files with 29 additions and 227 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue