diff --git a/src/threshold.c b/src/threshold.c
index a5e50a22ffe5e9209049331155e6dc3f467014e9..ed8312992b437c9984d6885309bc972f1450fb4d 100644 (file)
--- a/src/threshold.c
+++ b/src/threshold.c
{
gauge_t value;
gauge_t sum;
- int i;
+ size_t i;
sum = 0.0;
for (i = 0; i < vl->values_len; i++)
{ /* {{{ */
int ret = -1;
int ds_index = -1;
- int i;
+ size_t i;
gauge_t values_copy[ds->ds_num];
memcpy (values_copy, values, sizeof (values_copy));
return (0);
} /* }}} int ut_missing */
-int ut_config (oconfig_item_t *ci)
+static int ut_config (oconfig_item_t *ci)
{ /* {{{ */
int i;
int status = 0;