aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Reilly <rs576h@vyatta.att-mail.com>2019-06-28 15:53:11 +0100
committerStuart Reilly <rs576h@vyatta.att-mail.com>2019-06-28 15:53:11 +0100
commitcc39ef0946fe43fe29f24285649b8fbe18238a57 (patch)
tree31111356aa8efdb4a8d3e72bcee611920c1ae38f
parent81d3fc8a24c5625b94c1d1aa24b2ac214d976eea (diff)
Remove duplicate defintions and fix function prototypes
-rw-r--r--src/include/ndpi_api.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h
index a0a3c92af..631ab4038 100644
--- a/src/include/ndpi_api.h
+++ b/src/include/ndpi_api.h
@@ -768,7 +768,7 @@ extern "C" {
ndpi_proto_defaults_t* ndpi_get_proto_defaults(struct ndpi_detection_module_struct *ndpi_mod);
u_int ndpi_get_ndpi_num_supported_protocols(struct ndpi_detection_module_struct *ndpi_mod);
u_int ndpi_get_ndpi_num_custom_protocols(struct ndpi_detection_module_struct *ndpi_mod);
- u_int ndpi_get_ndpi_detection_module_size();
+ u_int ndpi_get_ndpi_detection_module_size(void);
void ndpi_set_log_level(struct ndpi_detection_module_struct *ndpi_mod, u_int l);
/* LRU cache */
@@ -795,9 +795,9 @@ extern "C" {
void set_ndpi_flow_free(void (*__ndpi_flow_free)(void *ptr));
void set_ndpi_debug_function(struct ndpi_detection_module_struct *ndpi_str,
ndpi_debug_function_ptr ndpi_debug_printf);
- void * ndpi_malloc(size_t size);
- void * ndpi_calloc(unsigned long count, size_t size);
- void ndpi_free(void *ptr);
+ //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();
/* https://github.com/corelight/community-id-spec */