]> Zhao Yanbai Git Server - minix.git/commitdiff
mmap rename fix for netbsd libc
authorBen Gras <ben@minix3.org>
Sat, 16 Jul 2011 14:52:21 +0000 (16:52 +0200)
committerBen Gras <ben@minix3.org>
Sat, 16 Jul 2011 14:52:21 +0000 (16:52 +0200)
lib/nbsd_libc/include/namespace.h
lib/nbsd_libc/sys-minix/mmap.c

index a2e6ca3c6b703aa1e5ed12f87f90bb40b1eea79d..88d8c2eae1fd60e23891f9e5a378efe76ea3e1da 100644 (file)
 #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 */
index 8869adada3398a919002ffc0011e181ec02ba600..1a0ea36d0f06c8ca3821cb64d4fe7bc86f41aac9 100644 (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