]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: remove const specifier from nlmsghdr arg to virNetlinkDumpCallback()
authorLaine Stump <laine@laine.org>
Sun, 6 Jan 2019 22:35:47 +0000 (17:35 -0500)
committerLaine Stump <laine@laine.org>
Thu, 10 Jan 2019 17:35:43 +0000 (12:35 -0500)
commit0ea259b6bf3c89bb3b144eba38bc0bd32e516107
treefaafae7e4bde09ac611a3b1862837829198df30b
parent6ee53e54dcfa3285ed75e6f89d178bf2458ef75c
util: remove const specifier from nlmsghdr arg to virNetlinkDumpCallback()

This is problematic if a callback function wants to send the nlmsghdr
to a library function that has no "const" in its prototype
(e.g. nlmsg_find_attr())

Signed-off-by: Laine Stump <laine@laine.org>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
src/util/virnetdevip.c
src/util/virnetlink.h