Skip to content
Browse files

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 <>
  • Loading branch information...
pfalcon authored and nashif committed Jun 3, 2019
1 parent 4323d38 commit 0fb8a917e6cfd2d93711cd1e06074315800e6c95
Showing with 1 addition and 0 deletions.
  1. +1 −0 subsys/net/lib/sockets/Kconfig
@@ -15,6 +15,7 @@ if NET_SOCKETS

bool "Standard POSIX names for Sockets API"
depends on !POSIX_API
By default, Sockets API function are prefixed with ``zsock_`` to avoid
namespacing issues. If this option is enabled, they will be provided

0 comments on commit 0fb8a91

Please sign in to comment.
You can’t perform that action at this time.