old-cross-binutils/libiberty/index.c
1999-05-03 07:29:11 +00:00

11 lines
143 B
C

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