freebsd-dev/contrib/binutils/libiberty/index.c
1998-03-01 22:58:51 +00:00

12 lines
143 B
C

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