From 154d6a5069551bfb2ba34c06f5772cb65fdbc681 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Wed, 3 Aug 2022 10:47:31 +0200 Subject: Compilation fix (not all compilers like restrict) --- src/include/ndpi_utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/include/ndpi_utils.h b/src/include/ndpi_utils.h index de68b0c11..d7318a9a4 100644 --- a/src/include/ndpi_utils.h +++ b/src/include/ndpi_utils.h @@ -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 -- cgit v1.2.3