diff options
author | Marco Gigante <m.gigante@nextworks.it> | 2016-10-20 16:01:53 +0200 |
---|---|---|
committer | Marco Gigante <m.gigante@nextworks.it> | 2016-10-20 16:01:53 +0200 |
commit | bac82eeb8e3ebc343245020436b1326ad7516a25 (patch) | |
tree | 29f4ed36c16cced769dcc20ee1661059c4e7e477 /src/lib/ndpi_main.c | |
parent | 94c134318bc2e2b36f44cdb9e20efedf9ad99060 (diff) |
Avoid c99 complains about function prototypes
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 774397013..946cb5c10 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -1716,7 +1716,7 @@ void set_ndpi_debug_function(struct ndpi_detection_module_struct *ndpi_str, ndpi /* ******************************************************************** */ -struct ndpi_detection_module_struct *ndpi_init_detection_module() { +struct ndpi_detection_module_struct *ndpi_init_detection_module(void) { struct ndpi_detection_module_struct *ndpi_str = ndpi_malloc(sizeof(struct ndpi_detection_module_struct)); if(ndpi_str == NULL) { @@ -1771,7 +1771,7 @@ struct ndpi_detection_module_struct *ndpi_init_detection_module() { /* *********************************************** */ /* Wrappers */ -void* ndpi_init_automa() { +void* ndpi_init_automa(void) { return(ac_automata_init(ac_match_handler)); } |