agbcc/libiberty/index.c
2020-01-29 18:32:13 -06:00

12 lines
143 B
C
Executable File

/* Stub implementation of (obsolete) index(). */
extern char * strchr();
char *
index (s, c)
char *s;
int c;
{
return strchr (s, c);
}