mmap rename fix for netbsd libc

This commit is contained in:
Ben Gras 2011-07-16 16:52:21 +02:00
parent 02081e4b62
commit cb7a3b0299
2 changed files with 6 additions and 0 deletions

View file

@ -921,6 +921,9 @@
#define truncate _truncate
#define write _write
#define writev _writev
#define minix_mmap _minix_mmap
#define minix_munmap _minix_munmap
#define minix_munmap_text _minix_munmap_text
#endif /* __minix */
#endif /* __weak_alias */

View file

@ -10,6 +10,9 @@ __weak_alias(vm_remap, _vm_remap)
__weak_alias(vm_unmap, _vm_unmap)
__weak_alias(vm_getphys, _vm_getphys)
__weak_alias(vm_getrefcount, _vm_getrefcount)
__weak_alias(minix_mmap, _minix_mmap)
__weak_alias(minix_munmap, _minix_munmap)
__weak_alias(minix_munmap_text, _minix_munmap_text)
#endif