X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fnetlink.c;h=d4661ce8423091b72f5276a3a2f4fa9d3f15561c;hb=5c2993e4121feae745551be182221b31bc23ff97;hp=aa9760f9328b78eb87e14f70501bc1622a57f12d;hpb=aedf67e69cbe93a6925fd1004a7c8b990aed4b0a;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;