mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 07:59:00 +00:00
Fix invalid argument reference in virnetdev.h
Commit ccff335f added ATTRIBUTE_NONNULL for an attribute which is not a pointer and made files including virnetdev.h not compilable, so fix that.
This commit is contained in:
parent
2a2bc1517a
commit
84d9142495
@ -48,7 +48,7 @@ int virNetDevAddRoute(const char *ifname,
|
||||
virSocketAddrPtr gateway,
|
||||
unsigned int metric)
|
||||
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(4)
|
||||
ATTRIBUTE_NONNULL(5) ATTRIBUTE_RETURN_CHECK;
|
||||
ATTRIBUTE_RETURN_CHECK;
|
||||
int virNetDevClearIPv4Address(const char *ifname,
|
||||
virSocketAddr *addr,
|
||||
unsigned int prefix)
|
||||
|
Loading…
x
Reference in New Issue
Block a user