mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +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
This commit is contained in:
parent
9de7309125
commit
adc8b2afbb
@ -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)
|
|
||||||
{
|
{
|
||||||
virReportUnsupportedError();
|
virReportUnsupportedError();
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user