From 5eb1fae2a97ffc88d136502ace050662e57ef34a Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Tue, 28 Feb 2006 00:54:02 +0000 Subject: Merge from trunk. --- libc/sysdeps/linux/sh/mmap.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libc/sysdeps/linux/sh/mmap.c') diff --git a/libc/sysdeps/linux/sh/mmap.c b/libc/sysdeps/linux/sh/mmap.c index 5424942b6..6bc45e939 100644 --- a/libc/sysdeps/linux/sh/mmap.c +++ b/libc/sysdeps/linux/sh/mmap.c @@ -23,6 +23,8 @@ #include #include +libc_hidden_proto(mmap) + #ifdef HIOS # define __SH_SYSCALL6_TRAPA "0x2E" #else @@ -31,6 +33,5 @@ #include -#define __NR___mmap __NR_mmap -attribute_hidden _syscall6(__ptr_t, __mmap, __ptr_t, addr, size_t, len, int, prot, int, flags, int, fd, __off_t, offset); -strong_alias(__mmap,mmap) +_syscall6(__ptr_t, mmap, __ptr_t, addr, size_t, len, int, prot, int, flags, int, fd, __off_t, offset); +libc_hidden_def(mmap) -- cgit v1.2.3