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

Unified Diff: fusl/src/stdio/puts.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/puts.c
diff --git a/fusl/src/stdio/puts.c b/fusl/src/stdio/puts.c
index 5a38a49b975adcad3192eda3148ef1acf55ad0df..ab69b025134acc769d7e27b91dc8931e1a14f31b 100644
--- a/fusl/src/stdio/puts.c
+++ b/fusl/src/stdio/puts.c
@@ -1,10 +1,9 @@
#include "stdio_impl.h"
-int puts(const char *s)
-{
- int r;
- FLOCK(stdout);
- r = -(fputs(s, stdout) < 0 || putc_unlocked('\n', stdout) < 0);
- FUNLOCK(stdout);
- return r;
+int puts(const char* s) {
+ int r;
+ FLOCK(stdout);
+ r = -(fputs(s, stdout) < 0 || putc_unlocked('\n', stdout) < 0);
+ FUNLOCK(stdout);
+ return r;
}

Powered by Google App Engine
This is Rietveld 408576698