Remove UNUSED() macro and disable the compiler warning instead

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2017-07-02 21:59:23 +02:00
parent e46e3cdcb6
commit 30822f0d68
27 changed files with 51 additions and 52 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ static void nl_link(struct nlmsghdr *nlmsg)
}
}
static void nl_callback(void *UNUSED(arg), int sd, int UNUSED(events))
static void nl_callback(void *arg, int sd, int events)
{
ssize_t len;
static char buf[4096];