X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fmbmon.c;h=2d6d77e21474c274af56c7c9e2cdcd7e41575af2;hb=42ca41a0798e3a2b742f7da3bacc03fbaf6175fa;hp=859714c2782f28d42d42cd401fea017259187ea8;hpb=3f391479bfc45d0ff6e0c7b87c899e41a192f392;p=collectd.git diff --git a/src/mbmon.c b/src/mbmon.c index 859714c2..2d6d77e2 100644 --- a/src/mbmon.c +++ b/src/mbmon.c @@ -1,6 +1,7 @@ /** * collectd - src/mbmon.c - * Copyright (C) 2006 Flavio Stanchina + * Copyright (C) 2006 Flavio Stanchina + * Copyright (C) 2006-2007 Florian octo Forster * Based on the hddtemp plugin. * * This program is free software; you can redistribute it and/or modify it @@ -19,6 +20,7 @@ * * Authors: * Flavio Stanchina + * Florian Forster **/ #include "collectd.h" @@ -27,7 +29,6 @@ #include "configfile.h" #include -#include #include #include @@ -259,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);