diff options
author | Luca Deri <deri@ntop.org> | 2022-08-03 10:47:31 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2022-08-03 10:47:31 +0200 |
commit | 154d6a5069551bfb2ba34c06f5772cb65fdbc681 (patch) | |
tree | 69aeb6faba26b3c760b80f2f9b3ddc093670bc95 /src/include/ndpi_utils.h | |
parent | b3e722e5a8164900a0bfb510ebaafaf5080c4511 (diff) |
Compilation fix (not all compilers like restrict)
Diffstat (limited to 'src/include/ndpi_utils.h')
-rw-r--r-- | src/include/ndpi_utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |