fix(mbedtls): fix -Wstrict-prototypes warning when compiling on Linux

This commit is contained in:
Ivan Grokhotkov 2023-11-27 14:37:45 +01:00
parent 8bf23e5372
commit a596ca56a8
No known key found for this signature in database
GPG Key ID: 1E050E141B280628

View File

@ -8,7 +8,7 @@
#include "mbedtls/platform_time.h" #include "mbedtls/platform_time.h"
#ifdef MBEDTLS_PLATFORM_MS_TIME_ALT #ifdef MBEDTLS_PLATFORM_MS_TIME_ALT
mbedtls_ms_time_t mbedtls_ms_time() mbedtls_ms_time_t mbedtls_ms_time(void)
{ {
int ret; int ret;
struct timespec tv = {}; struct timespec tv = {};