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 net: sntp: Add convenience API for one-shot SNTP query 2019-05-10 13:44:32 +03:00
Kconfig net: sntp: Depend on NET_SOCKETS_POSIX_NAMES || POSIX_API 2021-04-22 13:41:33 +03:00
sntp.c net: sntp: Remove deprecated API function 2020-10-01 07:14:08 -05:00
sntp_pkt.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sntp_simple.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00