From 019fa403aae6a233aa6ae58f385fa743f9279778 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 9 Sep 2003 09:42:40 +0000 Subject: Make sure that __syscall_fcntl is extern when LFS is disabled --- libc/sysdeps/linux/common/syscalls.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc') diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c index d3a759827..e0291c730 100644 --- a/libc/sysdeps/linux/common/syscalls.c +++ b/libc/sysdeps/linux/common/syscalls.c @@ -620,7 +620,9 @@ _syscall3(int, __syscall_ioctl, int, fd, int, request, void *, arg); #include #include #define __NR___syscall_fcntl __NR_fcntl +#ifdef __UCLIBC_HAS_LFS__ static inline +#endif _syscall3(int, __syscall_fcntl, int, fd, int, cmd, long, arg); int __libc_fcntl(int fd, int cmd, ...) { -- cgit v1.2.3