summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-07 22:16:12 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-07 22:16:12 +0000
commitbc5829aeab779ceb1389e218e641f14412483f16 (patch)
tree2199f76175e8d4c8ba34a0b0541fd8cd7a228924
parent977a560255a4919469c924d73c3d7ce165106722 (diff)
make sure the syscall mmap func isnt exported
-rw-r--r--libc/sysdeps/linux/common/mmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/mmap.c b/libc/sysdeps/linux/common/mmap.c
index 177e0da16..94c0d82b3 100644
--- a/libc/sysdeps/linux/common/mmap.c
+++ b/libc/sysdeps/linux/common/mmap.c
@@ -13,7 +13,7 @@
#ifdef __NR_mmap
#define __NR__mmap __NR_mmap
-_syscall1(__ptr_t, _mmap, unsigned long *, buffer);
+static inline _syscall1(__ptr_t, _mmap, unsigned long *, buffer);
__ptr_t mmap(__ptr_t addr, size_t len, int prot,
int flags, int fd, __off_t offset)
{