diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/include/ndpi_util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/ndpi_util.h b/src/include/ndpi_util.h index daa564b69..a23c5a0da 100644 --- a/src/include/ndpi_util.h +++ b/src/include/ndpi_util.h @@ -125,14 +125,14 @@ void ndpi_workflow_process_packet (struct ndpi_workflow * workflow, const u_char *packet); /* flow callbacks: ndpi_flow_info will be freed right after */ -inline void ndpi_workflow_set_flow_detected_callback(struct ndpi_workflow * workflow, +static inline void ndpi_workflow_set_flow_detected_callback(struct ndpi_workflow * workflow, ndpi_workflow_callback_ptr callback, void * udata) { workflow->__flow_detected_callback = callback; workflow->__flow_detected_udata = udata; } -inline void ndpi_workflow_set_flow_giveup_callback(struct ndpi_workflow * workflow, +static inline void ndpi_workflow_set_flow_giveup_callback(struct ndpi_workflow * workflow, ndpi_workflow_callback_ptr callback, void * udata) { workflow->__flow_giveup_callback = callback; |