summaryrefslogtreecommitdiffstats
path: root/libiberty/rindex.c
blob: 061d1269f178e2454543a45033cd050a8e10bd38 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* Stub implementation of (obsolete) rindex(). */

extern char *strrchr ();

char *
rindex (s, c)
  char *s;
  int c;
{
  return strrchr (s, c);
}
OpenPOWER on IntegriCloud