summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e8031d7)
raw | patch | inline | side by side (parent: e8031d7)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Mon, 22 Jul 2013 10:02:13 +0000 (12:02 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Mon, 22 Jul 2013 10:02:13 +0000 (12:02 +0200) |
As requested by @octo in GitHub#376.
src/netlink.c | patch | blob | history |
diff --git a/src/netlink.c b/src/netlink.c
index ff730e1e9550e90e8d2e278844e175f799e7efb0..c0b60c2260087d0ee7ca566eed455e8b172dfcc1 100644 (file)
--- a/src/netlink.c
+++ b/src/netlink.c
} /* void check_ignorelist_and_submit */
static int link_filter_cb (const struct nlmsghdr *nlh,
- void __attribute__((unused)) *args)
+ void *args __attribute__((unused)))
{
struct ifinfomsg *ifm = mnl_nlmsg_get_payload (nlh);
struct nlattr *attr;
char *tc_type;
char tc_inst[DATA_MAX_NAME_LEN];
- int __attribute__((unused)) stats_submitted = 0;
+ _Bool stats_submitted = 0;
if (nlh->nlmsg_type == RTM_NEWQDISC)
tc_type = "qdisc";