* tc-h8300.c: If OBJ_ELF, include elf/h8.h, and define
[binutils-gdb.git] / libiberty / index.c
1 /* Stub implementation of (obsolete) index(). */
2
3 extern char * strchr();
4
5 char *
6 index (s, c)
7 char *s;
8 int c;
9 {
10 return strchr (s, c);
11 }