freebsd-dev/contrib/binutils/libiberty/index.c

12 lines
143 B
C
Raw Normal View History

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