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

Unified Diff: fusl/src/stdio/fprintf.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/fprintf.c
diff --git a/fusl/src/stdio/fprintf.c b/fusl/src/stdio/fprintf.c
index 948743f7c8b78821645f5eecb7a45f2285d3b78d..5c8b7d2ba90ec382f1e7f75d4f4a854befa24b5c 100644
--- a/fusl/src/stdio/fprintf.c
+++ b/fusl/src/stdio/fprintf.c
@@ -1,12 +1,11 @@
#include <stdio.h>
#include <stdarg.h>
-int fprintf(FILE *restrict f, const char *restrict fmt, ...)
-{
- int ret;
- va_list ap;
- va_start(ap, fmt);
- ret = vfprintf(f, fmt, ap);
- va_end(ap);
- return ret;
+int fprintf(FILE* restrict f, const char* restrict fmt, ...) {
+ int ret;
+ va_list ap;
+ va_start(ap, fmt);
+ ret = vfprintf(f, fmt, ap);
+ va_end(ap);
+ return ret;
}

Powered by Google App Engine
This is Rietveld 408576698