flowvar/flowint: make local function static

pull/378/head
Victor Julien 12 years ago
parent 6e18ed0489
commit 57d3cd97f3

@ -33,7 +33,7 @@
#include "util-debug.h" #include "util-debug.h"
/* puts a new value into a flowvar */ /* 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) if (fv->data.fv_str.value)
SCFree(fv->data.fv_str.value); SCFree(fv->data.fv_str.value);
fv->data.fv_str.value = 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 */ /* 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; fv->data.fv_int.value = value;
} }

Loading…
Cancel
Save