Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/linux/mmap.c')
-rw-r--r--newlib/libc/sys/linux/mmap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/sys/linux/mmap.c b/newlib/libc/sys/linux/mmap.c
index d7dbeb842..6af2b851d 100644
--- a/newlib/libc/sys/linux/mmap.c
+++ b/newlib/libc/sys/linux/mmap.c
@@ -14,3 +14,7 @@ _syscall2(int,munlock,const void *,addr,size_t,len);
_syscall3(int,mprotect,void *,addr,size_t,len,int,prot);
_syscall3(int,msync,void *,addr,size_t,len,int,flags);
_syscall4(void *,mremap,void *,addr,size_t,oldlen,size_t,newlen,int,maymove);
+
+weak_alias(__libc_mmap,__mmap)
+weak_alias(__libc_munmap,__munmap)
+weak_alias(__libc_mremap,__mremap)