aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Deri <lucaderi@users.noreply.github.com>2019-07-13 18:36:09 +0200
committerGitHub <noreply@github.com>2019-07-13 18:36:09 +0200
commit9bdc021f9814a1a197bc619c699ac6429999e5f1 (patch)
treecc3d3395cfd635d902c36f6ee72f5b0c4986bacb
parentc65025f7b005444b6100f50ca49ef537fcd72c0b (diff)
parent22e323528e7a3dc68340c96faa360febb0491597 (diff)
Merge pull request #736 from themadprofessor/patch-1
Fix invalid function prototype
-rw-r--r--src/include/ndpi_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h
index e277408c1..c6666cda5 100644
--- a/src/include/ndpi_api.h
+++ b/src/include/ndpi_api.h
@@ -798,7 +798,7 @@ extern "C" {
//void * ndpi_malloc(size_t size);
//void * ndpi_calloc(unsigned long count, size_t size);
//void ndpi_free(void *ptr);
- u_int8_t ndpi_get_api_version();
+ u_int8_t ndpi_get_api_version(void);
/* https://github.com/corelight/community-id-spec */
int ndpi_flowv4_flow_hash(u_int8_t l4_proto, u_int32_t src_ip, u_int32_t dst_ip, u_int16_t src_port, u_int16_t dst_port,