Commit Graph

3 Commits

Author SHA1 Message Date
Eric Blake ae47b14a12 Optimize the generic strchr.
* libc/string/strchr.c (strchr) [!__OPTIMIZE_SIZE__]: Pre-align
data so unaligned searches aren't penalized.  Special-case
searching for 0.
2008-05-22 02:31:46 +00:00
Jeff Johnston 809b6ce708 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
* libc/string/strchr.c: Fix comment typo.
2002-05-10 17:51:18 +00:00
Christopher Faylor 8a0efa53e4 import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00