diff options
| author | David Turner <digit@android.com> | 2010-03-16 17:25:04 -0700 |
|---|---|---|
| committer | Android Code Review <code-review@android.com> | 2010-03-16 17:25:04 -0700 |
| commit | dd8f3c80f15981cae0a1ba72de0e9da0159ccb93 (patch) | |
| tree | ff347730f689bf7051ff5773a8c9b7334b300a33 /libc/string/strrchr.c | |
| parent | 5586838babaa9e8a6cf31547f4ba0d3bc333b336 (diff) | |
| parent | 30a419afc3cdb641e350c7cfde753877675958e0 (diff) | |
| download | bionic-dd8f3c80f15981cae0a1ba72de0e9da0159ccb93.zip bionic-dd8f3c80f15981cae0a1ba72de0e9da0159ccb93.tar.gz bionic-dd8f3c80f15981cae0a1ba72de0e9da0159ccb93.tar.bz2 | |
Merge "improve readability of string: fix indentation and remove trailing spaces"
Diffstat (limited to 'libc/string/strrchr.c')
| -rw-r--r-- | libc/string/strrchr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/string/strrchr.c b/libc/string/strrchr.c index 2800781..4918f82 100644 --- a/libc/string/strrchr.c +++ b/libc/string/strrchr.c @@ -34,12 +34,12 @@ char * strrchr(const char *p, int ch) { char *save; - + for (save = NULL;; ++p) { if (*p == ch) save = (char *)p; if (!*p) return(save); - } + } /* NOTREACHED */ } |
