diff options
author | Stuart Reilly <themadprofessor@users.noreply.github.com> | 2019-07-12 15:02:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-12 15:02:20 +0100 |
commit | 22e323528e7a3dc68340c96faa360febb0491597 (patch) | |
tree | 66c2dd94709b4e2e7a4f550312973867e3bfc125 /src | |
parent | 563215a05ee1d5a5ad5d72b749f8607f58e14c67 (diff) |
Fix invalid function prototype
Solves a warning when compiling with strict-prototypes.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/ndpi_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h index 466d51b48..f19c44bdc 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, |