mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
build: libnfnetlink: Remove nla_get_s32().
nla_get_s32() was added to libnl 3.2.7 in 2015. Remove CRIU's definition as it breaks build when statically linking the binary. From: Uros Prestor <urosp@google.com> Signed-off-by: Michał Mirosław <emmir@google.com>
This commit is contained in:
parent
f043cb22af
commit
3e0a8ffd6d
1 changed files with 0 additions and 5 deletions
|
|
@ -214,8 +214,3 @@ int __wrap_nlmsg_parse(struct nlmsghdr *nlh, int hdrlen, struct nlattr *tb[], in
|
|||
|
||||
return nla_parse(tb, maxtype, nlmsg_attrdata(nlh, hdrlen), nlmsg_attrlen(nlh, hdrlen), policy);
|
||||
}
|
||||
|
||||
int32_t nla_get_s32(const struct nlattr *nla)
|
||||
{
|
||||
return *(const int32_t *)nla_data(nla);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue