mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
Fix virNetDevWaitDadFinish stub
Build on non-Linux fails because the virNetDevWaitDadFinish() stub has unused parameters. Fix by adding appropriate ATTRIBUTE_UNUSED for these parameters. Pushing under build-breaker rule.
This commit is contained in:
parent
0f7436ca54
commit
2589ca3019
@ -1527,7 +1527,8 @@ int virNetDevClearIPAddress(const char *ifname,
|
||||
|
||||
/* return after DAD finishes for all known IPv6 addresses or an error */
|
||||
int
|
||||
virNetDevWaitDadFinish(virSocketAddrPtr *addrs, size_t count)
|
||||
virNetDevWaitDadFinish(virSocketAddrPtr *addrs ATTRIBUTE_UNUSED,
|
||||
size_t count ATTRIBUTE_UNUSED)
|
||||
{
|
||||
virReportSystemError(ENOSYS, "%s",
|
||||
_("Unable to wait for IPv6 DAD on this platform"));
|
||||
|
Loading…
Reference in New Issue
Block a user