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

Unified Diff: fusl/src/mman/posix_madvise.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/posix_madvise.c
diff --git a/fusl/src/mman/posix_madvise.c b/fusl/src/mman/posix_madvise.c
index e5e5acb84aba85765096b00058c3804aa8a2402a..59c49844196b65a1dec717ff1f5ef0585272f523 100644
--- a/fusl/src/mman/posix_madvise.c
+++ b/fusl/src/mman/posix_madvise.c
@@ -2,8 +2,8 @@
#include <sys/mman.h>
#include "syscall.h"
-int posix_madvise(void *addr, size_t len, int advice)
-{
- if (advice == MADV_DONTNEED) return 0;
- return -__syscall(SYS_madvise, addr, len, advice);
+int posix_madvise(void* addr, size_t len, int advice) {
+ if (advice == MADV_DONTNEED)
+ return 0;
+ return -__syscall(SYS_madvise, addr, len, advice);
}

Powered by Google App Engine
This is Rietveld 408576698