-
replace deprecated `index` with `strchr` · 46cd2845Patrick O'Leary authored
The `index` libc function was removed in POSIX 2008, and `strchr` is a direct replacement. The bionic (Android) libc has removed `index` when you are compiling for a 64-bit architecture, such as AArch64. Signed-off-by:
Patrick O'Leary <patrick.oleary@gmail.com> Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
46cd2845
×