Эх сурвалжийг харах

__ptr_t = void *, move hidden first

Peter S. Mazinger 20 жил өмнө
parent
commit
5c22f74b31

+ 1 - 1
libc/sysdeps/linux/common/mmap.c

@@ -14,7 +14,7 @@
 #ifdef __NR_mmap
 #define __NR__mmap __NR_mmap
 static inline _syscall1(__ptr_t, _mmap, unsigned long *, buffer);
-__ptr_t attribute_hidden __mmap(__ptr_t addr, size_t len, int prot,
+attribute_hidden __ptr_t __mmap(__ptr_t addr, size_t len, int prot,
 			 int flags, int fd, __off_t offset)
 {
 	unsigned long buffer[6];