[libc][NFC] Make strchr and strrchr more consistent
authorMichael Jones <michaelrj@google.com>
Mon, 27 Sep 2021 20:23:53 +0000 (20:23 +0000)
committerMichael Jones <michaelrj@google.com>
Tue, 28 Sep 2021 17:42:03 +0000 (17:42 +0000)
commit43c543aab7e3e6d5727097600ef13a352d1fb4e9
treeb893584fed746b0b9bbaa5a9e9f36910e7437a52
parentf6954bf80472cbfc06e39dac75a4a72120c9bd15
[libc][NFC] Make strchr and strrchr more consistent

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D110581
libc/src/string/strchr.cpp
libc/src/string/strrchr.cpp