summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/mremap.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/mremap.c')
-rw-r--r--libc/sysdeps/linux/common/mremap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/mremap.c b/libc/sysdeps/linux/common/mremap.c
index e7c1caa95..70627af9e 100644
--- a/libc/sysdeps/linux/common/mremap.c
+++ b/libc/sysdeps/linux/common/mremap.c
@@ -12,13 +12,15 @@
#ifdef __NR_mremap
+//vda:TODO: add comment and explain why??
+
#define mremap _hidemremap
#include <sys/mman.h>
#undef mremap
void *mremap(void *, size_t, size_t, int, void *);
-
libc_hidden_proto(mremap)
+
_syscall5(void *, mremap, void *, old_address, size_t, old_size, size_t,
new_size, int, may_move, void *, new_address)
libc_hidden_def(mremap)