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

Side by Side Diff: fusl/src/linux/fanotify.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 "syscall.h" 1 #include "syscall.h"
2 #include <sys/fanotify.h> 2 #include <sys/fanotify.h>
3 3
4 int fanotify_init(unsigned flags, unsigned event_f_flags) 4 int fanotify_init(unsigned flags, unsigned event_f_flags) {
5 { 5 return syscall(SYS_fanotify_init, flags, event_f_flags);
6 » return syscall(SYS_fanotify_init, flags, event_f_flags);
7 } 6 }
8 7
9 int fanotify_mark(int fanotify_fd, unsigned flags, unsigned long long mask, 8 int fanotify_mark(int fanotify_fd,
10 » int dfd, const char *pathname) 9 unsigned flags,
11 { 10 unsigned long long mask,
12 » return syscall(SYS_fanotify_mark, fanotify_fd, flags, __SYSCALL_LL_E(mas k), dfd, pathname); 11 int dfd,
12 const char* pathname) {
13 return syscall(SYS_fanotify_mark, fanotify_fd, flags, __SYSCALL_LL_E(mask),
14 dfd, pathname);
13 } 15 }
14
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698