diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-14 19:45:02 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-14 19:45:02 +0000 |
commit | 6f7dc709ed7e403af224b0fbb91e9619629eb2ec (patch) | |
tree | 349296ed6e3d73f390409bf96fa4269d1ac20ec7 /libc/sysdeps/linux/common/mmap.c | |
parent | 2d997660372123ab6ac1ee519b22fe015eaa787b (diff) |
make DODEBUG=y happy, update sysdeps/common/* copyright
Diffstat (limited to 'libc/sysdeps/linux/common/mmap.c')
-rw-r--r-- | libc/sysdeps/linux/common/mmap.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/mmap.c b/libc/sysdeps/linux/common/mmap.c index eadecfeee..29d78a712 100644 --- a/libc/sysdeps/linux/common/mmap.c +++ b/libc/sysdeps/linux/common/mmap.c @@ -1,10 +1,10 @@ /* vi: set sw=4 ts=4: */ /* - * _mmap() for uClibc + * mmap() for uClibc * - * Copyright (C) 2000-2004 by Erik Andersen <andersen@codepoet.org> + * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.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 "syscalls.h" @@ -12,6 +12,9 @@ #include <sys/mman.h> #ifdef __NR_mmap + +libc_hidden_proto(mmap) + #define __NR__mmap __NR_mmap static inline _syscall1(__ptr_t, _mmap, unsigned long *, buffer); __ptr_t mmap(__ptr_t addr, size_t len, int prot, @@ -27,6 +30,5 @@ __ptr_t mmap(__ptr_t addr, size_t len, int prot, buffer[5] = (unsigned long) offset; return (__ptr_t) _mmap(buffer); } -libc_hidden_proto(mmap) libc_hidden_def(mmap) #endif |