mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-02 11:05:22 +00:00
Revert "build: fix compilation without struct ifreq"
This reverts commitd4ffc36fbc
. That commit cherry-picked from68a97bd
in isolation, but should really only be needed if we had also cherry-picked387117ad
.
This commit is contained in:
parent
7725e01c1f
commit
997d97c34e
@ -929,7 +929,7 @@ int virNetDevValidateConfig(const char *ifname,
|
||||
}
|
||||
#else /* ! HAVE_STRUCT_IFREQ */
|
||||
int virNetDevValidateConfig(const char *ifname ATTRIBUTE_UNUSED,
|
||||
const virMacAddrPtr macaddr ATTRIBUTE_UNUSED,
|
||||
const unsigned char *macaddr ATTRIBUTE_UNUSED,
|
||||
int ifindex ATTRIBUTE_UNUSED)
|
||||
{
|
||||
virReportSystemError(ENOSYS, "%s",
|
||||
@ -1663,7 +1663,7 @@ virNetDevLinkDump(const char *ifname ATTRIBUTE_UNUSED,
|
||||
int
|
||||
virNetDevReplaceNetConfig(char *linkdev ATTRIBUTE_UNUSED,
|
||||
int vf ATTRIBUTE_UNUSED,
|
||||
const virMacAddrPtr macaddress ATTRIBUTE_UNUSED,
|
||||
const unsigned char *macaddress ATTRIBUTE_UNUSED,
|
||||
int vlanid ATTRIBUTE_UNUSED,
|
||||
char *stateDir ATTRIBUTE_UNUSED)
|
||||
{
|
||||
|
@ -672,7 +672,7 @@ int virNetlinkEventServiceLocalPid(void)
|
||||
int virNetlinkEventAddClient(virNetlinkEventHandleCallback handleCB ATTRIBUTE_UNUSED,
|
||||
virNetlinkEventRemoveCallback removeCB ATTRIBUTE_UNUSED,
|
||||
void *opaque ATTRIBUTE_UNUSED,
|
||||
const virMacAddrPtr macaddr ATTRIBUTE_UNUSED)
|
||||
const unsigned char *macaddr ATTRIBUTE_UNUSED)
|
||||
{
|
||||
netlinkError(VIR_ERR_INTERNAL_ERROR, "%s", _(unsupported));
|
||||
return -1;
|
||||
@ -682,7 +682,7 @@ int virNetlinkEventAddClient(virNetlinkEventHandleCallback handleCB ATTRIBUTE_UN
|
||||
* virNetlinkEventRemoveClient: unregister a callback from a netlink monitor
|
||||
*/
|
||||
int virNetlinkEventRemoveClient(int watch ATTRIBUTE_UNUSED,
|
||||
const virMacAddrPtr macaddr ATTRIBUTE_UNUSED)
|
||||
const unsigned char *macaddr ATTRIBUTE_UNUSED)
|
||||
{
|
||||
netlinkError(VIR_ERR_INTERNAL_ERROR, "%s", _(unsupported));
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user