diff options
author | Thomas Haller <thaller@redhat.com> | 2018-02-16 17:06:35 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-02-21 12:08:46 +0100 |
commit | 4da2a19a873d6cc51720d54c6f4183783ad4a56d (patch) | |
tree | bafcf4c601fe2d31881d9741952494f430453e88 /src/platform/nm-netlink.h | |
parent | 03420e6a5c67df7a04ad2a39e72677ec190b1061 (diff) |
netlink: drop redundant nl_recvmsgs_report() function
The only difference between nl_recvmsgs_report() and nl_recvmsgs() is
the return value on success. libnl3 couldn't change that for backward
compatibility reasons. We can merge them.
Diffstat (limited to 'src/platform/nm-netlink.h')
-rw-r--r-- | src/platform/nm-netlink.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/platform/nm-netlink.h b/src/platform/nm-netlink.h index fa2a10ed63..2e0af4bc57 100644 --- a/src/platform/nm-netlink.h +++ b/src/platform/nm-netlink.h @@ -510,9 +510,7 @@ int nl_send_iovec (struct nl_sock *sk, struct nl_msg *msg, struct iovec *iov, un void nl_complete_msg (struct nl_sock *sk, struct nl_msg *msg); -int nl_recvmsgs_report (struct nl_sock *sk, struct nl_cb *cb); - -int nl_recvmsgs (struct nl_sock *sk, struct nl_cb *cb); +int nl_recvmsgs (struct nl_sock *sk, const struct nl_cb *cb); int nl_wait_for_ack (struct nl_sock *sk); |