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

Unified Diff: fusl/src/string/wcscpy.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/wcscpy.c
diff --git a/fusl/src/string/wcscpy.c b/fusl/src/string/wcscpy.c
index 625bf53d08768c8b147199e8ecd9f1689a342e02..5b1b11c48a5f849596a304e62d544f5d70a18c64 100644
--- a/fusl/src/string/wcscpy.c
+++ b/fusl/src/string/wcscpy.c
@@ -1,8 +1,8 @@
#include <wchar.h>
-wchar_t *wcscpy(wchar_t *restrict d, const wchar_t *restrict s)
-{
- wchar_t *a = d;
- while ((*d++ = *s++));
- return a;
+wchar_t* wcscpy(wchar_t* restrict d, const wchar_t* restrict s) {
+ wchar_t* a = d;
+ while ((*d++ = *s++))
+ ;
+ return a;
}

Powered by Google App Engine
This is Rietveld 408576698