Compilation fix (not all compilers like restrict)

This commit is contained in:
Luca Deri
2022-08-03 10:47:31 +02:00
parent b3e722e5a8
commit 154d6a5069
+2 -2
View File
@@ -57,8 +57,8 @@ extern u_int8_t ndpi_ends_with(char *str, char *ends);
#ifndef NDPI_CFFI_PREPROCESSING
int ndpi_vsnprintf(char * str, size_t size, char const * format, va_list va_args);
int ndpi_snprintf(char * str, size_t size, char const * format, ...);
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);
#endif
#endif