projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix accidentlly-external cmp symbol introduced with catgets
[musl]
/
src
/
mman
/
munmap.c
diff --git
a/src/mman/munmap.c
b/src/mman/munmap.c
index
ab7da9e
..
2bf83bb
100644
(file)
--- a/
src/mman/munmap.c
+++ b/
src/mman/munmap.c
@@
-1,10
+1,12
@@
-#include <unistd.h>
#include <sys/mman.h>
#include "syscall.h"
-#include "libc.h"
+
+static void dummy(void) { }
+weak_alias(dummy, __vm_wait);
int __munmap(void *start, size_t len)
{
+ __vm_wait();
return syscall(SYS_munmap, start, len);
}