]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
flowvar/flowint: make local function static
authorVictor Julien <victor@inliniac.net>
Mon, 22 Apr 2013 14:10:50 +0000 (16:10 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 22 May 2013 12:52:36 +0000 (14:52 +0200)
src/flow-var.c

index 979475bcbd45a4e88bc54d9e24a596d32bb4a1a6..0a38b35f51fa87dc0125cffc41829eb7e18131fa 100644 (file)
@@ -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;
 }