summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2011-03-24 19:57:43 (GMT)
committerThomas Graf <tgraf@suug.ch>2011-03-24 19:57:43 (GMT)
commit8d5493418a5a82b5303722cd9b2964300813e693 (patch)
treed886e7d258becfbd8c26dc3fe043824839c70a57 /lib
parenta62bfdb8e0a1dffa7539fe813a96593c9c407686 (diff)
downloadlibnl-8d5493418a5a82b5303722cd9b2964300813e693.zip
libnl-8d5493418a5a82b5303722cd9b2964300813e693.tar.gz
libnl-8d5493418a5a82b5303722cd9b2964300813e693.tar.bz2
Cleanup <netlink/route/qdisc.h>
- remove dead prototypes - reformat
Diffstat (limited to 'lib')
-rw-r--r--lib/route/qdisc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/route/qdisc.c b/lib/route/qdisc.c
index 6ec3a40..d0f2edc 100644
--- a/lib/route/qdisc.c
+++ b/lib/route/qdisc.c
@@ -93,6 +93,7 @@
#include <netlink/route/classifier.h>
static struct nl_cache_ops rtnl_qdisc_ops;
+static struct nl_object_ops qdisc_obj_ops;
static int qdisc_msg_parser(struct nl_cache_ops *ops, struct sockaddr_nl *who,
struct nlmsghdr *n, struct nl_parser_param *pp)
@@ -514,7 +515,7 @@ static struct nl_cache_ops rtnl_qdisc_ops = {
.co_obj_ops = &qdisc_obj_ops,
};
-struct nl_object_ops qdisc_obj_ops = {
+static struct nl_object_ops qdisc_obj_ops = {
.oo_name = "route/qdisc",
.oo_size = sizeof(struct rtnl_qdisc),
.oo_free_data = rtnl_tc_free_data,