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

Unified Diff: fusl/src/stdio/putc.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/putc.c
diff --git a/fusl/src/stdio/putc.c b/fusl/src/stdio/putc.c
index fa8934969b62de4c4ca99172d13f95f13fc3e0a8..0f85bc9cfcdc1e20c4bc4c0a02c12ce5478b2e09 100644
--- a/fusl/src/stdio/putc.c
+++ b/fusl/src/stdio/putc.c
@@ -1,12 +1,11 @@
#include "stdio_impl.h"
-int putc(int c, FILE *f)
-{
- if (f->lock < 0 || !__lockfile(f))
- return putc_unlocked(c, f);
- c = putc_unlocked(c, f);
- __unlockfile(f);
- return c;
+int putc(int c, FILE* f) {
+ if (f->lock < 0 || !__lockfile(f))
+ return putc_unlocked(c, f);
+ c = putc_unlocked(c, f);
+ __unlockfile(f);
+ return c;
}
weak_alias(putc, _IO_putc);

Powered by Google App Engine
This is Rietveld 408576698