diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-02-28 00:54:02 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-02-28 00:54:02 +0000 |
commit | 5eb1fae2a97ffc88d136502ace050662e57ef34a (patch) | |
tree | df1087921ff9a88aa8a47ddfd55dc15a793fec56 /libc/sysdeps/linux/hppa/mmap.c | |
parent | dc0e95c67d350ca9e950abb5f75a63833380af9f (diff) | |
download | uClibc-alpine-5eb1fae2a97ffc88d136502ace050662e57ef34a.tar.bz2 uClibc-alpine-5eb1fae2a97ffc88d136502ace050662e57ef34a.tar.xz |
Merge from trunk.
Diffstat (limited to 'libc/sysdeps/linux/hppa/mmap.c')
-rw-r--r-- | libc/sysdeps/linux/hppa/mmap.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/hppa/mmap.c b/libc/sysdeps/linux/hppa/mmap.c index f14f1b6f9..baaee6847 100644 --- a/libc/sysdeps/linux/hppa/mmap.c +++ b/libc/sysdeps/linux/hppa/mmap.c @@ -2,10 +2,10 @@ /* * mmap() for uClibc/x86_64 * - * Copyright (C) 2005 by Erik Andersen <andersen@codepoet.org> + * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org> * Copyright (C) 2005 by Mike Frysinger <vapier@gentoo.org> * - * GNU Library General Public License (LGPL) version 2 or later. + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ #include <errno.h> @@ -13,7 +13,8 @@ #include <sys/mman.h> #include <sys/syscall.h> -#define __NR___mmap __NR_mmap -attribute_hidden _syscall6(void *, __mmap, void *, start, size_t, length, int, prot, +libc_hidden_proto(mmap) + +_syscall6(void *, mmap, void *, start, size_t, length, int, prot, int, flags, int, fd, off_t, offset); -strong_alias(__mmap,mmap) +libc_hidden_def(mmap) |