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

Unified Diff: fusl/src/thread/thrd_exit.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/thrd_exit.c
diff --git a/fusl/src/thread/thrd_exit.c b/fusl/src/thread/thrd_exit.c
index b66bd99695ca63da6a7f2cc9dbc3f42e88d2e255..e254a5f4ec3e0b327b03fc7c569e28a525ca0d5a 100644
--- a/fusl/src/thread/thrd_exit.c
+++ b/fusl/src/thread/thrd_exit.c
@@ -1,9 +1,8 @@
#include "pthread_impl.h"
#include <threads.h>
-_Noreturn void __pthread_exit(void *);
+_Noreturn void __pthread_exit(void*);
-_Noreturn void thrd_exit(int result)
-{
- __pthread_exit((void*)(intptr_t)result);
+_Noreturn void thrd_exit(int result) {
+ __pthread_exit((void*)(intptr_t)result);
}

Powered by Google App Engine
This is Rietveld 408576698