gcc/libiberty/index.c

12 lines
143 B
C
Raw Normal View History

1997-08-22 00:57:35 +02:00
/* Stub implementation of (obsolete) index(). */
extern char * strchr();
char *
index (s, c)
char *s;
int c;
{
return strchr (s, c);
}