mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 12:37:35 +00:00
nl: remove duplicated define
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
This commit is contained in:
parent
91d9cab6de
commit
aa599d1f48
@ -32,9 +32,6 @@
|
|||||||
|
|
||||||
#include "nl.h"
|
#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)
|
extern size_t nlmsg_len(const struct nlmsg *nlmsg)
|
||||||
{
|
{
|
||||||
return nlmsg->nlmsghdr->nlmsg_len - NLMSG_HDRLEN;
|
return nlmsg->nlmsghdr->nlmsg_len - NLMSG_HDRLEN;
|
||||||
|
Loading…
Reference in New Issue
Block a user