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

Unified Diff: fusl/src/stdio/fwprintf.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/stdio/fwprintf.c
diff --git a/fusl/src/stdio/fwprintf.c b/fusl/src/stdio/fwprintf.c
index 9ce4f0102e1b57e7224c9c11c47a044373be2ac9..acfffbba66bc4d12c0ff255cf94f263a3ecd3a76 100644
--- a/fusl/src/stdio/fwprintf.c
+++ b/fusl/src/stdio/fwprintf.c
@@ -2,12 +2,11 @@
#include <stdarg.h>
#include <wchar.h>
-int fwprintf(FILE *restrict f, const wchar_t *restrict fmt, ...)
-{
- int ret;
- va_list ap;
- va_start(ap, fmt);
- ret = vfwprintf(f, fmt, ap);
- va_end(ap);
- return ret;
+int fwprintf(FILE* restrict f, const wchar_t* restrict fmt, ...) {
+ int ret;
+ va_list ap;
+ va_start(ap, fmt);
+ ret = vfwprintf(f, fmt, ap);
+ va_end(ap);
+ return ret;
}

Powered by Google App Engine
This is Rietveld 408576698