From 5c22f74b31742b3117f6ce55210eeba28b167933 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 8 Dec 2005 22:59:35 +0000 Subject: __ptr_t = void *, move hidden first --- libc/sysdeps/linux/common/mmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/mmap.c') 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]; -- cgit v1.2.3