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

Side by Side Diff: fusl/src/linux/timerfd.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 <sys/timerfd.h> 1 #include <sys/timerfd.h>
2 #include "syscall.h" 2 #include "syscall.h"
3 3
4 int timerfd_create(int clockid, int flags) 4 int timerfd_create(int clockid, int flags) {
5 { 5 return syscall(SYS_timerfd_create, clockid, flags);
6 » return syscall(SYS_timerfd_create, clockid, flags);
7 } 6 }
8 7
9 int timerfd_settime(int fd, int flags, const struct itimerspec *new, struct itim erspec *old) 8 int timerfd_settime(int fd,
10 { 9 int flags,
11 » return syscall(SYS_timerfd_settime, fd, flags, new, old); 10 const struct itimerspec* new,
11 struct itimerspec* old) {
12 return syscall(SYS_timerfd_settime, fd, flags, new, old);
12 } 13 }
13 14
14 int timerfd_gettime(int fd, struct itimerspec *cur) 15 int timerfd_gettime(int fd, struct itimerspec* cur) {
15 { 16 return syscall(SYS_timerfd_gettime, fd, cur);
16 » return syscall(SYS_timerfd_gettime, fd, cur);
17 } 17 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698