aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremanuele-f <black.silver@hotmail.it>2016-04-20 02:23:37 +0200
committeremanuele-f <black.silver@hotmail.it>2016-04-20 02:23:37 +0200
commit4e1317cd0f94f7238ed28c2ba130308c5034874f (patch)
treedec2eebe7587a00620d46e634cede474d1222302
parent9ee64420045028f20a655bce34fe795aefdb288e (diff)
Fix inline travis complaining
-rw-r--r--src/include/ndpi_util.h4
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;