am a596aa6a: am 26c815c4: Merge "Drop magic number in strrchr and strchr"

* commit 'a596aa6abfdd8ecdb4bcdd9bcad24a19adcf7525':
  Drop magic number in strrchr and strchr
This commit is contained in:
Elliott Hughes 2013-03-21 19:58:23 -07:00 committed by Android Git Automerger
commit 1e40ace49e
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);
}