zephyr/subsys/net/lib/sntp
Paul Sokolovsky 01014a2c05 net: sntp: Depend on NET_SOCKETS_POSIX_NAMES || POSIX_API
This library is coded with standard POSIX names for socket functions,
so make that requirement explicit.

Also, switch it from select'ing NET_SOCKETS, to depend'ing on it. This
follows the general approach of avoiding unneeded select's in Zephyr,
which lead to conflicting dependencies and make debugging dependencies
complex overall. In this particular case, it's fair (for a user) to
expect that "simple network time protocol" requires networking API,
namely sockets, and have that explicitly on in their app configuration,
giving better overview of their app config overall.

Fixes: #34165

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2021-04-22 13:41:33 +03:00
..
CMakeLists.txt
Kconfig net: sntp: Depend on NET_SOCKETS_POSIX_NAMES || POSIX_API 2021-04-22 13:41:33 +03:00
sntp.c
sntp_pkt.h
sntp_simple.c