diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-20 22:11:44 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-20 22:11:44 +0000 |
commit | cb97aadebfeba7f5e8f1b85beee5ab10e88c2990 (patch) | |
tree | f5f56f2ef0f3048325419857d0b538135524ff8c /libc/sysdeps/linux/common/mremap.c | |
parent | b133fe1cac9f99b63ea56daf92caa1423b1289d0 (diff) |
Last portion of libc_hidden_proto removal.
Appears to build fine (several .configs tried)
Diffstat (limited to 'libc/sysdeps/linux/common/mremap.c')
-rw-r--r-- | libc/sysdeps/linux/common/mremap.c | 4 |
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) |