From 3238164f9c2314577f8adc544bede132bd54ad2b Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 29 Dec 2021 09:22:12 +0900 Subject: `ioctl_narg_len` is used only when ioctl(2) is available --- io.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/io.c b/io.c index 4ed4ee34f8..7ff7e5a33c 100644 --- a/io.c +++ b/io.c @@ -10148,6 +10148,7 @@ linux_iocparm_len(ioctl_req_t cmd) } #endif +#ifdef HAVE_IOCTL static long ioctl_narg_len(ioctl_req_t cmd) { @@ -10169,6 +10170,7 @@ ioctl_narg_len(ioctl_req_t cmd) return len; } +#endif #ifdef HAVE_FCNTL #ifdef __linux__ -- cgit v1.2.3