浏览代码

__ptr_t = void *, move hidden first

Peter S. Mazinger 20 年之前
父节点
当前提交
5c22f74b31
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      libc/sysdeps/linux/common/mmap.c

+ 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];