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

Side by Side Diff: fusl/src/stdio/stderr.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 unified diff | Download patch
OLDNEW
1 #include "stdio_impl.h" 1 #include "stdio_impl.h"
2 2
3 static unsigned char buf[UNGET]; 3 static unsigned char buf[UNGET];
4 static FILE f = { 4 static FILE f = {
5 » .buf = buf+UNGET, 5 .buf = buf + UNGET,
6 » .buf_size = 0, 6 .buf_size = 0,
7 » .fd = 2, 7 .fd = 2,
8 » .flags = F_PERM | F_NORD, 8 .flags = F_PERM | F_NORD,
9 » .lbf = -1, 9 .lbf = -1,
10 » .write = __stdio_write, 10 .write = __stdio_write,
11 » .seek = __stdio_seek, 11 .seek = __stdio_seek,
12 » .close = __stdio_close, 12 .close = __stdio_close,
13 » .lock = -1, 13 .lock = -1,
14 }; 14 };
15 FILE *const stderr = &f; 15 FILE* const stderr = &f;
16 FILE *volatile __stderr_used = &f; 16 FILE* volatile __stderr_used = &f;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698