From 8bd30e89e632956ed9f91c7293cb3b5b1469526e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 8 Jun 2006 09:26:14 +0000 Subject: add support for 5th argument --- libc/sysdeps/linux/common/mremap.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libc') diff --git a/libc/sysdeps/linux/common/mremap.c b/libc/sysdeps/linux/common/mremap.c index 080d2c1c2..cbd890272 100644 --- a/libc/sysdeps/linux/common/mremap.c +++ b/libc/sysdeps/linux/common/mremap.c @@ -9,10 +9,11 @@ #include "syscalls.h" #include +#define mremap _hidemremap #include +#undef mremap libc_hidden_proto(mremap) - -_syscall4(__ptr_t, mremap, __ptr_t, old_address, size_t, old_size, size_t, - new_size, int, may_move); +_syscall5(void *, mremap, void *, old_address, size_t, old_size, size_t, + new_size, int, may_move, void *, new_address); libc_hidden_def(mremap) -- cgit v1.2.3