]> git.ipfire.org Git - thirdparty/u-boot.git/commit
lwip: provide a sntp_format_time() function
authorJerome Forissier <jerome.forissier@linaro.org>
Thu, 24 Jul 2025 15:26:35 +0000 (17:26 +0200)
committerJerome Forissier <jerome.forissier@linaro.org>
Fri, 1 Aug 2025 07:30:47 +0000 (09:30 +0200)
commit71056afe2094b5a6fad4a2dd940252d1def55e7e
tree84afe953f42da43592f69300cd13f91101f489fd
parentd1b4bfc98441663de1388bff5043b7a9351c8c5a
lwip: provide a sntp_format_time() function

Provide a trivial implementation of sntp_format_time() to fix a build
error when CONFIG_LWIP_DEBUG=y:

lib/lwip/lwip/src/apps/sntp/sntp.c: In function ‘sntp_format_time’:
lib/lwip/lwip/src/apps/sntp/sntp.c:283:10: error: implicit declaration of function ‘ctime’ [-Werror=implicit-function-declaration]
  283 |   return ctime(&ut);
      |          ^~~~~

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
lib/lwip/u-boot/arch/cc.h