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

Unified Diff: fusl/src/thread/pthread_getspecific.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_getspecific.c
diff --git a/fusl/src/thread/pthread_getspecific.c b/fusl/src/thread/pthread_getspecific.c
index d9342a560f7bc6c9341b27911ae353d03a78fb1f..08f49c58a3511008cfe07b8cc7448976c4562cca 100644
--- a/fusl/src/thread/pthread_getspecific.c
+++ b/fusl/src/thread/pthread_getspecific.c
@@ -1,10 +1,9 @@
#include "pthread_impl.h"
#include <threads.h>
-static void *__pthread_getspecific(pthread_key_t k)
-{
- struct pthread *self = __pthread_self();
- return self->tsd[k];
+static void* __pthread_getspecific(pthread_key_t k) {
+ struct pthread* self = __pthread_self();
+ return self->tsd[k];
}
weak_alias(__pthread_getspecific, pthread_getspecific);

Powered by Google App Engine
This is Rietveld 408576698