remove or make static various unused __-prefixed symbols
[musl.git] / src / linux / cache.c
blob3f0abc7caf16ec27697c2c0b4c050d0d17fa0a8e
1 #include "syscall.h"
2 #include "libc.h"
4 #ifdef SYS_cacheflush
5 int _flush_cache(void *addr, int len, int op)
7 return syscall(SYS_cacheflush, addr, len, op);
9 weak_alias(_flush_cache, cacheflush);
10 #endif
12 #ifdef SYS_cachectl
13 int __cachectl(void *addr, int len, int op)
15 return syscall(SYS_cachectl, addr, len, op);
17 weak_alias(__cachectl, cachectl);
18 #endif