4.4BSD/usr/src/contrib/gdb-4.7.lbl/libiberty/index.c

/* Stub implementation of (obsolete) index(). */

extern char * strchr();

char *
index (s, c)
  char *s;
  int c;
{
  return strchr (s, c);
}