From 57d3cd97f39d7fc5f41c7a5f89e221a8078f988e Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Mon, 22 Apr 2013 16:10:50 +0200 Subject: [PATCH] flowvar/flowint: make local function static --- src/flow-var.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flow-var.c b/src/flow-var.c index 979475bcbd..0a38b35f51 100644 --- a/src/flow-var.c +++ b/src/flow-var.c @@ -33,7 +33,7 @@ #include "util-debug.h" /* puts a new value into a flowvar */ -void FlowVarUpdateStr(FlowVar *fv, uint8_t *value, uint16_t size) { +static void FlowVarUpdateStr(FlowVar *fv, uint8_t *value, uint16_t size) { if (fv->data.fv_str.value) SCFree(fv->data.fv_str.value); fv->data.fv_str.value = value; @@ -41,7 +41,7 @@ void FlowVarUpdateStr(FlowVar *fv, uint8_t *value, uint16_t size) { } /* puts a new value into a flowvar */ -void FlowVarUpdateInt(FlowVar *fv, uint32_t value) { +static void FlowVarUpdateInt(FlowVar *fv, uint32_t value) { fv->data.fv_int.value = value; }