From a596ca56a873ea6adce8064ac10fca7ac8a7ea43 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Mon, 27 Nov 2023 14:37:45 +0100 Subject: [PATCH] fix(mbedtls): fix -Wstrict-prototypes warning when compiling on Linux --- components/mbedtls/port/esp_platform_time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/mbedtls/port/esp_platform_time.c b/components/mbedtls/port/esp_platform_time.c index 541b664ab9..1b30774b83 100644 --- a/components/mbedtls/port/esp_platform_time.c +++ b/components/mbedtls/port/esp_platform_time.c @@ -8,7 +8,7 @@ #include "mbedtls/platform_time.h" #ifdef MBEDTLS_PLATFORM_MS_TIME_ALT -mbedtls_ms_time_t mbedtls_ms_time() +mbedtls_ms_time_t mbedtls_ms_time(void) { int ret; struct timespec tv = {};