global cleanup to use the new syscall interface
[musl] / src / mman / munmap.c
1 #include <unistd.h>
2 #include <sys/mman.h>
3 #include "syscall.h"
4 #include "libc.h"
5
6 int __munmap(void *start, size_t len)
7 {
8         return syscall(SYS_munmap, start, len);
9 }
10
11 weak_alias(__munmap, munmap);