summaryrefslogtreecommitdiff
path: root/lib/lwip/u-boot/arch/cc.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lwip/u-boot/arch/cc.h')
-rw-r--r--lib/lwip/u-boot/arch/cc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/lwip/u-boot/arch/cc.h b/lib/lwip/u-boot/arch/cc.h
index 6104c296f6f..f91127ac565 100644
--- a/lib/lwip/u-boot/arch/cc.h
+++ b/lib/lwip/u-boot/arch/cc.h
@@ -43,4 +43,8 @@
#define BYTE_ORDER BIG_ENDIAN
#endif
+#define SNTP_STARTUP_DELAY 0
+void sntp_set_system_time(uint32_t sec);
+#define SNTP_SET_SYSTEM_TIME(sec) sntp_set_system_time(sec)
+
#endif /* LWIP_ARCH_CC_H */