X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fnetlink.c;h=d4661ce8423091b72f5276a3a2f4fa9d3f15561c;hb=e7f7ecc1cac73841cdebd7e0462af4989532a107;hp=aa9760f9328b78eb87e14f70501bc1622a57f12d;hpb=dab48f284f9d4bb6ae98244310c5cdb6c5d91bf3;p=collectd.git diff --git a/src/netlink.c b/src/netlink.c index aa9760f9..d4661ce8 100644 --- a/src/netlink.c +++ b/src/netlink.c @@ -30,7 +30,6 @@ #include "common.h" #include -#include #include #include @@ -471,7 +470,7 @@ static int qos_filter_cb (const struct nlmsghdr *nlh, void *args) const char *kind = NULL; /* char *type_instance; */ - char *tc_type; + const char *tc_type; char tc_inst[DATA_MAX_NAME_LEN]; _Bool stats_submitted = 0;