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

Unified Diff: fusl/src/thread/call_once.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/thread/call_once.c
diff --git a/fusl/src/thread/call_once.c b/fusl/src/thread/call_once.c
index a7bc93532bc5e936395b8aec207eda9d12b9cccf..4cc2ff41d75a9264a8c5a8b9810955978b62d5a9 100644
--- a/fusl/src/thread/call_once.c
+++ b/fusl/src/thread/call_once.c
@@ -1,8 +1,7 @@
#include <threads.h>
-int __pthread_once(once_flag *, void (*)(void));
+int __pthread_once(once_flag*, void (*)(void));
-void call_once(once_flag *flag, void (*func)(void))
-{
- __pthread_once(flag, func);
+void call_once(once_flag* flag, void (*func)(void)) {
+ __pthread_once(flag, func);
}

Powered by Google App Engine
This is Rietveld 408576698