mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-12 01:14:41 +08:00

This adds const to the sntp servername get/set API and internal storage SNTP's usage of this name is read only and SNTP only passes it to dns_gethostbyname() This was found by compiling with GCC -Wwrite-strings which makes the literal SNTP_SERVER_ADDRESS a const string. This then produced warnings with sntp_init()'s call to sntp_setservername()