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

Unified Diff: fusl/src/signal/sigprocmask.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/signal/sigprocmask.c
diff --git a/fusl/src/signal/sigprocmask.c b/fusl/src/signal/sigprocmask.c
index 297e20c65f825c64d0b63bf4500595aa126e3642..a8cb8c689d5dd80b7f336e1986a178d2a72c66d3 100644
--- a/fusl/src/signal/sigprocmask.c
+++ b/fusl/src/signal/sigprocmask.c
@@ -1,10 +1,10 @@
#include <signal.h>
#include <errno.h>
-int sigprocmask(int how, const sigset_t *restrict set, sigset_t *restrict old)
-{
- int r = pthread_sigmask(how, set, old);
- if (!r) return r;
- errno = r;
- return -1;
+int sigprocmask(int how, const sigset_t* restrict set, sigset_t* restrict old) {
+ int r = pthread_sigmask(how, set, old);
+ if (!r)
+ return r;
+ errno = r;
+ return -1;
}

Powered by Google App Engine
This is Rietveld 408576698