summaryrefslogtreecommitdiff
path: root/gnu/egcs/libiberty/index.c
blob: e5a00f54d9468ad84d0b7f2b0ae64f1800485cb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* Stub implementation of (obsolete) index(). */

extern char * strchr();

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