Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: fusl/src/string/wcscmp.c

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: fusl/src/string/wcscmp.c
diff --git a/fusl/src/string/wcscmp.c b/fusl/src/string/wcscmp.c
index 26eeee7045612335a311f0f3770d2cdb710dcca3..20b68d931b1bdb98ee48ebb3aa2f7d90a735f35e 100644
--- a/fusl/src/string/wcscmp.c
+++ b/fusl/src/string/wcscmp.c
@@ -1,7 +1,7 @@
#include <wchar.h>
-int wcscmp(const wchar_t *l, const wchar_t *r)
-{
- for (; *l==*r && *l && *r; l++, r++);
- return *l - *r;
+int wcscmp(const wchar_t* l, const wchar_t* r) {
+ for (; *l == *r && *l && *r; l++, r++)
+ ;
+ return *l - *r;
}

Powered by Google App Engine
This is Rietveld 408576698