am 3a6178f8: am 1e40ace4: am a596aa6a: am 26c815c4: Merge "Drop magic number in strrchr and strchr"

* commit '3a6178f8b9498ece5383fac9feb692e8ed2d4ce0':
  Drop magic number in strrchr and strchr
This commit is contained in:
Elliott Hughes 2013-03-22 03:03:15 +00:00 committed by Android Git Automerger
commit bd43b613b8
2 changed files with 2 additions and 2 deletions

View File

@ -47,5 +47,5 @@ __strchr_chk(const char *p, int ch, size_t s_len)
char *
strchr(const char *p, int ch) {
return __strchr_chk(p, ch, (size_t) -1);
return __strchr_chk(p, ch, __BIONIC_FORTIFY_UNKNOWN_SIZE);
}

View File

@ -50,5 +50,5 @@ __strrchr_chk(const char *p, int ch, size_t s_len)
char *
strrchr(const char *p, int ch)
{
return __strrchr_chk(p, ch, (size_t) -1);
return __strrchr_chk(p, ch, __BIONIC_FORTIFY_UNKNOWN_SIZE);
}