From bac82eeb8e3ebc343245020436b1326ad7516a25 Mon Sep 17 00:00:00 2001 From: Marco Gigante Date: Thu, 20 Oct 2016 16:01:53 +0200 Subject: Avoid c99 complains about function prototypes --- src/include/ndpi_api.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include') diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h index 2cea8386b..ce84453c9 100644 --- a/src/include/ndpi_api.h +++ b/src/include/ndpi_api.h @@ -122,7 +122,7 @@ extern "C" { * @return the initialized detection module * */ - struct ndpi_detection_module_struct *ndpi_init_detection_module(); + struct ndpi_detection_module_struct *ndpi_init_detection_module(void); /** * Frees the memory allocated in the specified flow @@ -588,7 +588,7 @@ ndpi_protocol ndpi_l4_detection_process_packet(struct ndpi_detection_module_stru * @return The requested automata, or NULL if an error occurred * */ - void* ndpi_init_automa(); + void* ndpi_init_automa(void); /** -- cgit v1.2.3