summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/frv/mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/frv/mmap.c')
-rw-r--r--libc/sysdeps/linux/frv/mmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/frv/mmap.c b/libc/sysdeps/linux/frv/mmap.c
index 01dcfb627..d4cfcb062 100644
--- a/libc/sysdeps/linux/frv/mmap.c
+++ b/libc/sysdeps/linux/frv/mmap.c
@@ -29,6 +29,8 @@
#include <sys/syscall.h>
#include <sys/mman.h>
+libc_hidden_proto(mmap)
+
#define __NR___syscall_mmap2 __NR_mmap2
static inline _syscall6(__ptr_t, __syscall_mmap2, __ptr_t, addr,
size_t, len, int, prot, int, flags, int, fd, off_t, offset);
@@ -46,5 +48,4 @@ __ptr_t mmap(__ptr_t addr, size_t len, int prot, int flags, int fd, __off_t offs
}
return(__syscall_mmap2(addr, len, prot, flags, fd, (off_t) (offset >> MMAP2_PAGE_SHIFT)));
}
-libc_hidden_proto(mmap)
libc_hidden_def(mmap)