Skip to content

Commit 0fb8a91

Browse files
pfalconnashif
authored andcommitted
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: zephyrproject-rtos#16141 Signed-off-by: Paul Sokolovsky <[email protected]>
1 parent 4323d38 commit 0fb8a91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subsys/net/lib/sockets/Kconfig

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ if NET_SOCKETS
1515

1616
config NET_SOCKETS_POSIX_NAMES
1717
bool "Standard POSIX names for Sockets API"
18+
depends on !POSIX_API
1819
help
1920
By default, Sockets API function are prefixed with ``zsock_`` to avoid
2021
namespacing issues. If this option is enabled, they will be provided

0 commit comments

Comments
 (0)