]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
tc/class: make filter variables static
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 15 Nov 2018 22:36:31 +0000 (14:36 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 19 Nov 2018 19:42:44 +0000 (11:42 -0800)
Only used in this file.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
tc/tc_class.c

index 7e4e17fd7f39c6a324e2eb27f9e46b87f983d060..7ac700d7ab31369729dbaaad539bd894812b877b 100644 (file)
@@ -153,9 +153,9 @@ static int tc_class_modify(int cmd, unsigned int flags, int argc, char **argv)
        return 0;
 }
 
-int filter_ifindex;
-__u32 filter_qdisc;
-__u32 filter_classid;
+static int filter_ifindex;
+static __u32 filter_qdisc;
+static __u32 filter_classid;
 
 static void graph_node_add(__u32 parent_id, __u32 id, void *data,
                int len)