mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-26 14:03:49 +03:00
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: Pavel Fedin <p.fedin@samsung.com>
This commit is contained in:
parent
56ba2f99a5
commit
4d2cf054d4
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user