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

Unified Diff: fusl/src/string/wmemset.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/wmemset.c
diff --git a/fusl/src/string/wmemset.c b/fusl/src/string/wmemset.c
index 07a037a0f92dd667cf0fd7c2ac74319462113664..8dcc57719f0a8124da7c00bce407f1100587c57e 100644
--- a/fusl/src/string/wmemset.c
+++ b/fusl/src/string/wmemset.c
@@ -1,8 +1,8 @@
#include <wchar.h>
-wchar_t *wmemset(wchar_t *d, wchar_t c, size_t n)
-{
- wchar_t *ret = d;
- while (n--) *d++ = c;
- return ret;
+wchar_t* wmemset(wchar_t* d, wchar_t c, size_t n) {
+ wchar_t* ret = d;
+ while (n--)
+ *d++ = c;
+ return ret;
}

Powered by Google App Engine
This is Rietveld 408576698