Unverified Commit aa599d1f by 2xsec

nl: remove duplicated define

Signed-off-by: 's avatar2xsec <dh48.jeong@samsung.com>
parent 91d9cab6
......@@ -32,9 +32,6 @@
#include "nl.h"
#define NLMSG_TAIL(nmsg) \
((struct rtattr *) (((void *) (nmsg)) + NLMSG_ALIGN((nmsg)->nlmsg_len)))
extern size_t nlmsg_len(const struct nlmsg *nlmsg)
{
return nlmsg->nlmsghdr->nlmsg_len - NLMSG_HDRLEN;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment