mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 11:01:19 +00:00
logging: remove redundant XDR typedef
Every enum/struct/union implicitly includes a typedef in the emitted C code. Furthermore, the syntax used to declare the redundant typedef is not compliant with the XDR spec. Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
f143e4e7b6
commit
3ebcd59d21
@ -22,13 +22,11 @@ struct virLogManagerProtocolDomain {
|
|||||||
virLogManagerProtocolUUID uuid;
|
virLogManagerProtocolUUID uuid;
|
||||||
virLogManagerProtocolNonNullString name;
|
virLogManagerProtocolNonNullString name;
|
||||||
};
|
};
|
||||||
typedef struct virLogManagerProtocolDomain virLogManagerProtocolDomain;
|
|
||||||
|
|
||||||
struct virLogManagerProtocolLogFilePosition {
|
struct virLogManagerProtocolLogFilePosition {
|
||||||
unsigned hyper inode;
|
unsigned hyper inode;
|
||||||
unsigned hyper offset;
|
unsigned hyper offset;
|
||||||
};
|
};
|
||||||
typedef struct virLogManagerProtocolLogFilePosition virLogManagerProtocolLogFilePosition;
|
|
||||||
|
|
||||||
enum virLogManagerProtocolDomainOpenLogFileFlags {
|
enum virLogManagerProtocolDomainOpenLogFileFlags {
|
||||||
VIR_LOG_MANAGER_PROTOCOL_DOMAIN_OPEN_LOG_FILE_TRUNCATE = 1
|
VIR_LOG_MANAGER_PROTOCOL_DOMAIN_OPEN_LOG_FILE_TRUNCATE = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user