Sfoglia il codice sorgente

Make sure that __syscall_fcntl is extern when LFS
is disabled

Eric Andersen 22 anni fa
parent
commit
019fa403aa
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      libc/sysdeps/linux/common/syscalls.c

+ 2 - 0
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, ...)
 {