提交 988a0e0e 编写于 作者: M Michal Privoznik

virinitctl: Provide a stub list of init fifos for non-Linux

The virInitctlFifos list is exported, but lacks definition for
non-Linux and/or non-BSD case.
Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
上级 b9e8a6f7
...@@ -184,6 +184,11 @@ virInitctlSetRunLevel(const char *fifo, ...@@ -184,6 +184,11 @@ virInitctlSetRunLevel(const char *fifo,
return ret; return ret;
} }
#else #else
/* On non-Linux and non-BSD there are no known inits */
const char *virInitctlFifos[] = {
NULL
};
int virInitctlSetRunLevel(const char *fifo ATTRIBUTE_UNUSED, int virInitctlSetRunLevel(const char *fifo ATTRIBUTE_UNUSED,
virInitctlRunLevel level ATTRIBUTE_UNUSED) virInitctlRunLevel level ATTRIBUTE_UNUSED)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册