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

Side by Side Diff: fusl/src/signal/sigsetjmp_tail.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 <setjmp.h> 1 #include <setjmp.h>
2 #include <signal.h> 2 #include <signal.h>
3 #include "syscall.h" 3 #include "syscall.h"
4 4
5 __attribute__((__visibility__("hidden"))) 5 __attribute__((__visibility__("hidden"))) int __sigsetjmp_tail(sigjmp_buf jb,
6 int __sigsetjmp_tail(sigjmp_buf jb, int ret) 6 int ret) {
7 { 7 void* p = jb->__ss;
8 » void *p = jb->__ss; 8 __syscall(SYS_rt_sigprocmask, SIG_SETMASK, ret ? p : 0, ret ? 0 : p,
9 » __syscall(SYS_rt_sigprocmask, SIG_SETMASK, ret?p:0, ret?0:p, _NSIG/8); 9 _NSIG / 8);
10 » return ret; 10 return ret;
11 } 11 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698