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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: fusl/src/mman/munmap.c
diff --git a/fusl/src/mman/munmap.c b/fusl/src/mman/munmap.c
index 3f711ee50145bc6bf1ed905b1e310a63b32ace72..41fa30ab7583308b776e3d185e242e0f52ab51e9 100644
--- a/fusl/src/mman/munmap.c
+++ b/fusl/src/mman/munmap.c
@@ -2,13 +2,12 @@
#include "syscall.h"
#include "libc.h"
-static void dummy(void) { }
+static void dummy(void) {}
weak_alias(dummy, __vm_wait);
-int __munmap(void *start, size_t len)
-{
- __vm_wait();
- return syscall(SYS_munmap, start, len);
+int __munmap(void* start, size_t len) {
+ __vm_wait();
+ return syscall(SYS_munmap, start, len);
}
weak_alias(__munmap, munmap);

Powered by Google App Engine
This is Rietveld 408576698