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

Side by Side Diff: fusl/src/linux/ppoll.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 #define _GNU_SOURCE 1 #define _GNU_SOURCE
2 #include <poll.h> 2 #include <poll.h>
3 #include <signal.h> 3 #include <signal.h>
4 #include "syscall.h" 4 #include "syscall.h"
5 5
6 int ppoll(struct pollfd *fds, nfds_t n, const struct timespec *to, const sigset_ t *mask) 6 int ppoll(struct pollfd* fds,
7 { 7 nfds_t n,
8 » return syscall_cp(SYS_ppoll, fds, n, 8 const struct timespec* to,
9 » » to ? (struct timespec []){*to} : 0, mask, _NSIG/8); 9 const sigset_t* mask) {
10 return syscall_cp(SYS_ppoll, fds, n, to ? (struct timespec[]){*to} : 0, mask,
11 _NSIG / 8);
10 } 12 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698