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

Side by Side Diff: fusl/src/linux/cache.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 "libc.h" 2 #include "libc.h"
3 3
4 #ifdef SYS_cacheflush 4 #ifdef SYS_cacheflush
5 int _flush_cache(void *addr, int len, int op) 5 int _flush_cache(void* addr, int len, int op) {
6 { 6 return syscall(SYS_cacheflush, addr, len, op);
7 » return syscall(SYS_cacheflush, addr, len, op);
8 } 7 }
9 weak_alias(_flush_cache, cacheflush); 8 weak_alias(_flush_cache, cacheflush);
10 #endif 9 #endif
11 10
12 #ifdef SYS_cachectl 11 #ifdef SYS_cachectl
13 int __cachectl(void *addr, int len, int op) 12 int __cachectl(void* addr, int len, int op) {
14 { 13 return syscall(SYS_cachectl, addr, len, op);
15 » return syscall(SYS_cachectl, addr, len, op);
16 } 14 }
17 weak_alias(__cachectl, cachectl); 15 weak_alias(__cachectl, cachectl);
18 #endif 16 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698