mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-05 22:05:47 +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;
|
||||
virLogManagerProtocolNonNullString name;
|
||||
};
|
||||
typedef struct virLogManagerProtocolDomain virLogManagerProtocolDomain;
|
||||
|
||||
struct virLogManagerProtocolLogFilePosition {
|
||||
unsigned hyper inode;
|
||||
unsigned hyper offset;
|
||||
};
|
||||
typedef struct virLogManagerProtocolLogFilePosition virLogManagerProtocolLogFilePosition;
|
||||
|
||||
enum virLogManagerProtocolDomainOpenLogFileFlags {
|
||||
VIR_LOG_MANAGER_PROTOCOL_DOMAIN_OPEN_LOG_FILE_TRUNCATE = 1
|
||||
|
Loading…
Reference in New Issue
Block a user