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

Side by Side Diff: fusl/src/signal/sigemptyset.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 unified diff | Download patch
OLDNEW
1 #include <signal.h> 1 #include <signal.h>
2 #include <string.h> 2 #include <string.h>
3 3
4 int sigemptyset(sigset_t *set) 4 int sigemptyset(sigset_t* set) {
5 { 5 set->__bits[0] = 0;
6 » set->__bits[0] = 0; 6 if (sizeof(long) == 4 || _NSIG > 65)
7 » if (sizeof(long)==4 || _NSIG > 65) set->__bits[1] = 0; 7 set->__bits[1] = 0;
8 » if (sizeof(long)==4 && _NSIG > 65) { 8 if (sizeof(long) == 4 && _NSIG > 65) {
9 » » set->__bits[2] = 0; 9 set->__bits[2] = 0;
10 » » set->__bits[3] = 0; 10 set->__bits[3] = 0;
11 » } 11 }
12 » return 0; 12 return 0;
13 } 13 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698