提交 adc8b2af 编写于 作者: J Ján Tomko

Fix conflicting types of virInitctlSetRunLevel

aebbcdd3 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
上级 9de73091
...@@ -159,8 +159,7 @@ cleanup: ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册