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

Unified Diff: fusl/src/signal/sigisemptyset.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/sigisemptyset.c
diff --git a/fusl/src/signal/sigisemptyset.c b/fusl/src/signal/sigisemptyset.c
index 312c66cf84f14362cb29bec7dd3111624993df92..f7898d6b4ec49f23eee1703e0e69be459101583f 100644
--- a/fusl/src/signal/sigisemptyset.c
+++ b/fusl/src/signal/sigisemptyset.c
@@ -2,8 +2,7 @@
#include <signal.h>
#include <string.h>
-int sigisemptyset(const sigset_t *set)
-{
- static const unsigned long zeroset[_NSIG/8/sizeof(long)];
- return !memcmp(set, &zeroset, _NSIG/8);
+int sigisemptyset(const sigset_t* set) {
+ static const unsigned long zeroset[_NSIG / 8 / sizeof(long)];
+ return !memcmp(set, &zeroset, _NSIG / 8);
}

Powered by Google App Engine
This is Rietveld 408576698