mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-11 14:11:31 +00:00
Fix conflicting types of virInitctlSetRunLevel
aebbcdd didn't change the non-linux definition of the function, breaking the build on FreeBSD: ../../src/util/virinitctl.c:164: error: conflicting types for 'virInitctlSetRunLevel' ../../src/util/virinitctl.h:40: error: previous declaration of 'virInitctlSetRunLevel' was here (cherry picked from commit adc8b2afbb4683cf7b110c7c6a1067339b472c1c)
This commit is contained in:
parent
663bb4a524
commit
eb90e48b7a
@ -159,8 +159,7 @@ cleanup:
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
int virInitctlSetRunLevel(virInitctlRunLevel level ATTRIBUTE_UNUSED,
|
int virInitctlSetRunLevel(virInitctlRunLevel level ATTRIBUTE_UNUSED)
|
||||||
const char *vroot ATTRIBUTE_UNUSED)
|
|
||||||
{
|
{
|
||||||
virReportError(VIR_ERR_NO_SUPPORT, "%s", __FUNCTION__);
|
virReportError(VIR_ERR_NO_SUPPORT, "%s", __FUNCTION__);
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user