binutils-gdb/libiberty/index.c

12 lines
143 B
C
Raw Normal View History

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