aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_api.h
diff options
context:
space:
mode:
authorMichele Campus <fci1908@gmail.com>2016-10-20 17:08:04 +0200
committerGitHub <noreply@github.com>2016-10-20 17:08:04 +0200
commitb60e82c7022db45246b5914c3b28bcc9c1194ca8 (patch)
tree29f4ed36c16cced769dcc20ee1661059c4e7e477 /src/include/ndpi_api.h
parent94c134318bc2e2b36f44cdb9e20efedf9ad99060 (diff)
parentbac82eeb8e3ebc343245020436b1326ad7516a25 (diff)
Merge pull request #278 from mgigante/dev_funcproto
Avoid c99 complains about function prototypes
Diffstat (limited to 'src/include/ndpi_api.h')
-rw-r--r--src/include/ndpi_api.h4
1 files changed, 2 insertions, 2 deletions
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);
/**