From: Victor Julien Date: Mon, 22 Apr 2013 14:10:50 +0000 (+0200) Subject: flowvar/flowint: make local function static X-Git-Tag: suricata-2.0beta1~130 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=57d3cd97f39d7fc5f41c7a5f89e221a8078f988e;p=thirdparty%2Fsuricata.git flowvar/flowint: make local function static --- 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; }