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

Unified Diff: fusl/src/thread/pthread_testcancel.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/pthread_testcancel.c
diff --git a/fusl/src/thread/pthread_testcancel.c b/fusl/src/thread/pthread_testcancel.c
index ee48e6d8af6dcf909a9b5b40e1f9253035c0a3d0..cc92b281e76569d7634a84113fe8231a9aa41594 100644
--- a/fusl/src/thread/pthread_testcancel.c
+++ b/fusl/src/thread/pthread_testcancel.c
@@ -1,15 +1,12 @@
#include "pthread_impl.h"
#include "libc.h"
-static void dummy()
-{
-}
+static void dummy() {}
weak_alias(dummy, __testcancel);
-void __pthread_testcancel()
-{
- __testcancel();
+void __pthread_testcancel() {
+ __testcancel();
}
weak_alias(__pthread_testcancel, pthread_testcancel);

Powered by Google App Engine
This is Rietveld 408576698