Fix sntp_get_real_time prototype in header by earlephilhower · Pull Request #7707 · esp8266/Arduino
sntp_get_real_time takes a time_t in the core, but in the header it
was listed as long. Make them both match by changing the header.
sntp_get_real_time takes a `time_t` in the core, but in the header it was listed as `long`. Make them both match by changing the header.
This was spotted while doing the newlib 3.3 port where time_t has gone to 64-bit (i.e. a long long) to avoid the year 2038 problem. On the current core, this is just a cleanup and shouldn't change any code.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters