[libvirt] [PATCH 1/4] util: remove const specifier from nlmsghdr arg to virNetlinkDumpCallback()

Erik Skultety eskultet at redhat.com
Thu Jan 10 10:19:50 UTC 2019


On Wed, Jan 09, 2019 at 12:43:12PM -0500, Laine Stump wrote:
> 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())

Makes sense, since we can't control the API signatures in external libraries.

Reviewed-by: Erik Skultety <eskultet at redhat.com>




More information about the libvir-list mailing list