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

Unified Diff: fusl/src/stdio/clearerr.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/clearerr.c
diff --git a/fusl/src/stdio/clearerr.c b/fusl/src/stdio/clearerr.c
index 3bf94d30795d76d9d408000ac3f911f16090437f..a1ea4f7e1ddbd79ad72e8019dae13d6454c617ea 100644
--- a/fusl/src/stdio/clearerr.c
+++ b/fusl/src/stdio/clearerr.c
@@ -1,10 +1,9 @@
#include "stdio_impl.h"
-void clearerr(FILE *f)
-{
- FLOCK(f);
- f->flags &= ~(F_EOF|F_ERR);
- FUNLOCK(f);
+void clearerr(FILE* f) {
+ FLOCK(f);
+ f->flags &= ~(F_EOF | F_ERR);
+ FUNLOCK(f);
}
weak_alias(clearerr, clearerr_unlocked);

Powered by Google App Engine
This is Rietveld 408576698