NetBSD/gnu/dist/libiberty/index.c

12 lines
143 B
C
Raw Normal View History

1997-09-24 19:39:15 +04:00
/* Stub implementation of (obsolete) index(). */
extern char * strchr();
char *
index (s, c)
char *s;
int c;
{
return strchr (s, c);
}