You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/04/12 15:27:47 UTC

[incubator-nuttx] branch master updated: misc/Kconfig: enable LIBC_IOCTL_VARIADIC by default

This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new c3b0848  misc/Kconfig: enable LIBC_IOCTL_VARIADIC by default
c3b0848 is described below

commit c3b0848284cfb99f2254dfbcaee66c277d7d27e1
Author: chao.an <an...@xiaomi.com>
AuthorDate: Tue Mar 3 17:40:58 2020 +0800

    misc/Kconfig: enable LIBC_IOCTL_VARIADIC by default
    
    Change-Id: I7bc23a6552af7b443eb433e4d2e3c2c8784b3956
    Signed-off-by: chao.an <an...@xiaomi.com>
---
 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 609309a..e78036e 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 641defb..7a82c86 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 2939dd0..5f9f4c8 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 fce6ab3..7247e91 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: