From c3b0848284cfb99f2254dfbcaee66c277d7d27e1 Mon Sep 17 00:00:00 2001 From: "chao.an" Date: Tue, 3 Mar 2020 17:40:58 +0800 Subject: [PATCH] misc/Kconfig: enable LIBC_IOCTL_VARIADIC by default Change-Id: I7bc23a6552af7b443eb433e4d2e3c2c8784b3956 Signed-off-by: chao.an --- boards/arm/lc823450/lc823450-xgevk/configs/bt/defconfig | 1 - boards/arm/lpc17xx_40xx/lx_cpu/configs/nsh/defconfig | 1 - boards/sim/sim/sim/configs/tcpblaster/defconfig | 1 - libs/libc/misc/Kconfig | 2 +- 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/boards/arm/lc823450/lc823450-xgevk/configs/bt/defconfig b/boards/arm/lc823450/lc823450-xgevk/configs/bt/defconfig index 609309ab9f..e78036efc4 100644 --- a/boards/arm/lc823450/lc823450-xgevk/configs/bt/defconfig +++ b/boards/arm/lc823450/lc823450-xgevk/configs/bt/defconfig @@ -69,7 +69,6 @@ CONFIG_LC823450_UART1=y CONFIG_LC823450_XGEVK_BTPOWER=y CONFIG_LCD=y CONFIG_LCD_ST7565=y -CONFIG_LIBC_IOCTL_VARIADIC=y CONFIG_LIBM=y CONFIG_LIB_KBDCODEC=y CONFIG_MAX_TASKS=64 diff --git a/boards/arm/lpc17xx_40xx/lx_cpu/configs/nsh/defconfig b/boards/arm/lpc17xx_40xx/lx_cpu/configs/nsh/defconfig index 641defb344..7a82c868f4 100644 --- a/boards/arm/lpc17xx_40xx/lx_cpu/configs/nsh/defconfig +++ b/boards/arm/lpc17xx_40xx/lx_cpu/configs/nsh/defconfig @@ -66,7 +66,6 @@ CONFIG_FS_UNIONFS=y CONFIG_I2C=y CONFIG_INTELHEX_BINARY=y CONFIG_LIBC_DLFCN=y -CONFIG_LIBC_IOCTL_VARIADIC=y CONFIG_LIBC_STRERROR=y CONFIG_LIB_ENVPATH=y CONFIG_LPC17_40_CAN2=y diff --git a/boards/sim/sim/sim/configs/tcpblaster/defconfig b/boards/sim/sim/sim/configs/tcpblaster/defconfig index 2939dd071c..5f9f4c82d2 100644 --- a/boards/sim/sim/sim/configs/tcpblaster/defconfig +++ b/boards/sim/sim/sim/configs/tcpblaster/defconfig @@ -36,7 +36,6 @@ CONFIG_IOB_NCHAINS=128 CONFIG_IOB_NOTIFIER=y CONFIG_IOB_THROTTLE=16 CONFIG_LIBC_EXECFUNCS=y -CONFIG_LIBC_IOCTL_VARIADIC=y CONFIG_LIBC_LOCALE=y CONFIG_LIBC_LOCALTIME=y CONFIG_LIBM=y diff --git a/libs/libc/misc/Kconfig b/libs/libc/misc/Kconfig index fce6ab36f1..7247e91da7 100644 --- a/libs/libc/misc/Kconfig +++ b/libs/libc/misc/Kconfig @@ -5,7 +5,7 @@ config LIBC_IOCTL_VARIADIC bool "Enable variadic ioctl()" - default n + default y ---help--- By default, NuttX implements the "old style," three-parameter, ioctl() interface with this function prototype: