[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 redhat com>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]