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

Unified Diff: fusl/src/stdio/stdout.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/stdout.c
diff --git a/fusl/src/stdio/stdout.c b/fusl/src/stdio/stdout.c
index 6b188942dced8dec953b5f5a7d00a0c78f4a0f0b..225391e64ae5a85e5b12804605203bb98f7cd2da 100644
--- a/fusl/src/stdio/stdout.c
+++ b/fusl/src/stdio/stdout.c
@@ -1,16 +1,16 @@
#include "stdio_impl.h"
-static unsigned char buf[BUFSIZ+UNGET];
+static unsigned char buf[BUFSIZ + UNGET];
static FILE f = {
- .buf = buf+UNGET,
- .buf_size = sizeof buf-UNGET,
- .fd = 1,
- .flags = F_PERM | F_NORD,
- .lbf = '\n',
- .write = __stdout_write,
- .seek = __stdio_seek,
- .close = __stdio_close,
- .lock = -1,
+ .buf = buf + UNGET,
+ .buf_size = sizeof buf - UNGET,
+ .fd = 1,
+ .flags = F_PERM | F_NORD,
+ .lbf = '\n',
+ .write = __stdout_write,
+ .seek = __stdio_seek,
+ .close = __stdio_close,
+ .lock = -1,
};
-FILE *const stdout = &f;
-FILE *volatile __stdout_used = &f;
+FILE* const stdout = &f;
+FILE* volatile __stdout_used = &f;

Powered by Google App Engine
This is Rietveld 408576698