X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fmbmon.c;h=2d6d77e21474c274af56c7c9e2cdcd7e41575af2;hb=9e718fa4673df0ebef245a600feafaab3fcb09c4;hp=90226bbf6e7403eda02919b8b9e02fb008215ba2;hpb=108068f268cad453e5d3b54e288917409db1e467;p=collectd.git diff --git a/src/mbmon.c b/src/mbmon.c index 90226bbf..2d6d77e2 100644 --- a/src/mbmon.c +++ b/src/mbmon.c @@ -20,7 +20,7 @@ * * Authors: * Flavio Stanchina - * Florian Forster + * Florian Forster **/ #include "collectd.h" @@ -29,7 +29,6 @@ #include "configfile.h" #include -#include #include #include @@ -261,8 +260,8 @@ static int mbmon_read (void) double value; char *nextc; - char *type; - char *inst; + const char *type; + const char *inst; *t++ = '\0'; trim_spaces (s);