HAVE_INLINED_SYSCALLS is always defined on Linux.
Switch to INLINE_SYSCALL_CALL as well.
+2018-08-20 Florian Weimer <fweimer@redhat.com>
+
+ * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
+ HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
+
2018-08-20 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/sys/signalfd.h (struct
#include <unistd.h>
#include <fcntl.h>
#include <sys/param.h>
-#ifdef HAVE_INLINED_SYSCALLS
# include <errno.h>
# include <sysdep.h>
-#endif
ssize_t
if (len > buflen)
__chk_fail ();
-#ifdef HAVE_INLINED_SYSCALLS
- return INLINE_SYSCALL (readlinkat, 4, AT_FDCWD, path, buf, len);
-#else
- return __readlink (path, buf, len);
-#endif
+ return INLINE_SYSCALL_CALL (readlinkat, AT_FDCWD, path, buf, len);
}