提交 4d2cf054 编写于 作者: P Pavel Fedin 提交者: Martin Kletzander

Remove explicit enum from protocol structures

Explicit 'enum' keyword does not work with portablexdr-rpcgeb, causing its
parser to fail. Fix method is borrowed from virnetprotocol.x
Signed-off-by: NPavel Fedin <p.fedin@samsung.com>
上级 56ba2f99
......@@ -30,7 +30,7 @@ enum virLXCMonitorExitStatus {
};
struct virLXCMonitorExitEventMsg {
enum virLXCMonitorExitStatus status;
virLXCMonitorExitStatus status;
};
struct virLXCMonitorInitEventMsg {
......
......@@ -5,7 +5,7 @@ enum virLXCMonitorExitStatus {
VIR_LXC_MONITOR_EXIT_STATUS_REBOOT = 2,
};
struct virLXCMonitorExitEventMsg {
enum virLXCMonitorExitStatus status;
virLXCMonitorExitStatus status;
};
struct virLXCMonitorInitEventMsg {
uint64_t initpid;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册