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

Side by Side Diff: fusl/src/mman/munmap.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/mman.h> 1 #include <sys/mman.h>
2 #include "syscall.h" 2 #include "syscall.h"
3 #include "libc.h" 3 #include "libc.h"
4 4
5 static void dummy(void) { } 5 static void dummy(void) {}
6 weak_alias(dummy, __vm_wait); 6 weak_alias(dummy, __vm_wait);
7 7
8 int __munmap(void *start, size_t len) 8 int __munmap(void* start, size_t len) {
9 { 9 __vm_wait();
10 » __vm_wait(); 10 return syscall(SYS_munmap, start, len);
11 » return syscall(SYS_munmap, start, len);
12 } 11 }
13 12
14 weak_alias(__munmap, munmap); 13 weak_alias(__munmap, munmap);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698