global cleanup to use the new syscall interface
[musl] / src / mman / mprotect.c
1 #include <sys/mman.h>
2 #include "syscall.h"
3
4 int mprotect(void *addr, size_t len, int prot)
5 {
6         return syscall(SYS_mprotect, addr, len, prot);
7 }