Fix invalid function prototype

Solves a warning when compiling with strict-prototypes.
This commit is contained in:
Stuart Reilly
2019-07-12 15:02:20 +01:00
committed by GitHub
parent 563215a05e
commit 22e323528e
+1 -1
View File
@@ -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,