binutils-gdb/libiberty/index.c

12 lines
143 B
C
Raw Normal View History

1999-05-03 15:29:11 +08:00
/* Stub implementation of (obsolete) index(). */
extern char * strchr();
char *
index (s, c)
char *s;
int c;
{
return strchr (s, c);
}