From fd370c4b45d4815efe2b9fdabfe516d1481e7152 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 3 Jun 2019 21:22:00 +0300 Subject: [PATCH] net: sockets: Make NET_SOCKETS_POSIX_NAMES depend on !POSIX_API These options are mutually exclusive, or more specifically, CONFIG_POSIX_API has wider scope and supersedes CONFIG_NET_SOCKETS_POSIX_NAMES. Implementation-wise, the two options should not be defined at the same time, as that may lead to declaration conflicts. Fixes: #16141 Signed-off-by: Paul Sokolovsky --- subsys/net/lib/sockets/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/subsys/net/lib/sockets/Kconfig b/subsys/net/lib/sockets/Kconfig index 2c3cc16b3c6d2..a8c561ddefdb6 100644 --- a/subsys/net/lib/sockets/Kconfig +++ b/subsys/net/lib/sockets/Kconfig @@ -15,6 +15,7 @@ if NET_SOCKETS config NET_SOCKETS_POSIX_NAMES bool "Standard POSIX names for Sockets API" + depends on !POSIX_API help By default, Sockets API function are prefixed with ``zsock_`` to avoid namespacing issues. If this option is enabled, they will be provided