Compilation fix (not all compilers like restrict) (part 2)

This commit is contained in:
Luca Deri
2022-08-03 11:12:15 +02:00
parent 154d6a5069
commit 63fe4b4306
+2 -2
View File
@@ -2670,8 +2670,8 @@ int ndpi_vsnprintf(char * str, size_t size, char const * format, va_list va_args
/* ******************************************* */
struct tm *ndpi_gmtime_r(const time_t *restrict timep,
struct tm *restrict result)
struct tm *ndpi_gmtime_r(const time_t *timep,
struct tm *result)
{
#ifdef WIN32
gmtime_s(result, timep);