* doc/contrib.texi: Add copyright notice.
[official-gcc.git] / libiberty / index.c
blobe5a00f54d9468ad84d0b7f2b0ae64f1800485cb6
1 /* Stub implementation of (obsolete) index(). */
3 extern char * strchr();
5 char *
6 index (s, c)
7 char *s;
8 int c;
10 return strchr (s, c);