summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-08 22:59:35 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-08 22:59:35 +0000
commit5c22f74b31742b3117f6ce55210eeba28b167933 (patch)
treedbfa8a697a31be88c13907b0d9766478269ae363 /libc
parent9e4ca377aec9e49d3c0291d5cf284a673279730c (diff)
__ptr_t = void *, move hidden first
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/mmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/mmap.c b/libc/sysdeps/linux/common/mmap.c
index 7387f28b4..3cd3eee4d 100644
--- a/libc/sysdeps/linux/common/mmap.c
+++ b/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];