From bc5829aeab779ceb1389e218e641f14412483f16 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 7 Sep 2005 22:16:12 +0000 Subject: make sure the syscall mmap func isnt exported --- libc/sysdeps/linux/common/mmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc') 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) { -- cgit v1.2.3