summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-09-09 09:42:40 +0000
committerEric Andersen <andersen@codepoet.org>2003-09-09 09:42:40 +0000
commit019fa403aae6a233aa6ae58f385fa743f9279778 (patch)
tree66bda718cc126ace33820d3863bb0bdc0c13d43e /libc/sysdeps
parent4ad53a1548e593c467879645ce4356ce18d80a84 (diff)
Make sure that __syscall_fcntl is extern when LFS
is disabled
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/syscalls.c2
1 files changed, 2 insertions, 0 deletions
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 <stdarg.h>
#include <fcntl.h>
#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, ...)
{