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

Side by Side Diff: fusl/src/linux/mount.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/mount.h> 1 #include <sys/mount.h>
2 #include "syscall.h" 2 #include "syscall.h"
3 3
4 int mount(const char *special, const char *dir, const char *fstype, unsigned lon g flags, const void *data) 4 int mount(const char* special,
5 { 5 const char* dir,
6 » return syscall(SYS_mount, special, dir, fstype, flags, data); 6 const char* fstype,
7 unsigned long flags,
8 const void* data) {
9 return syscall(SYS_mount, special, dir, fstype, flags, data);
7 } 10 }
8 11
9 int umount(const char *special) 12 int umount(const char* special) {
10 { 13 return syscall(SYS_umount2, special, 0);
11 » return syscall(SYS_umount2, special, 0);
12 } 14 }
13 15
14 int umount2(const char *special, int flags) 16 int umount2(const char* special, int flags) {
15 { 17 return syscall(SYS_umount2, special, flags);
16 » return syscall(SYS_umount2, special, flags);
17 } 18 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698