]>
git.saurik.com Git - apple/xnu.git/blobdiff - libsyscall/wrappers/string/index.c
c = ch;
for (;; ++p) {
- if (*p == c)
- return ((char *)p);
- if (*p == '\0')
- return (NULL);
+ if (*p == c) {
+ return (char *)p;
+ }
+ if (*p == '\0') {
+ return NULL;
+ }
}
/* NOTREACHED */
}