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

Unified Diff: fusl/src/stdio/ofl_add.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/ofl_add.c
diff --git a/fusl/src/stdio/ofl_add.c b/fusl/src/stdio/ofl_add.c
index d7de9f15a13ee3fc5f7118ce35dea64bb65cbd5d..2f1aa740a09d07deff20714ad8d7e812cbe3895b 100644
--- a/fusl/src/stdio/ofl_add.c
+++ b/fusl/src/stdio/ofl_add.c
@@ -1,11 +1,11 @@
#include "stdio_impl.h"
-FILE *__ofl_add(FILE *f)
-{
- FILE **head = __ofl_lock();
- f->next = *head;
- if (*head) (*head)->prev = f;
- *head = f;
- __ofl_unlock();
- return f;
+FILE* __ofl_add(FILE* f) {
+ FILE** head = __ofl_lock();
+ f->next = *head;
+ if (*head)
+ (*head)->prev = f;
+ *head = f;
+ __ofl_unlock();
+ return f;
}

Powered by Google App Engine
This is Rietveld 408576698