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.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
src/logging/log_protocol.x | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/logging/log_protocol.x b/src/logging/log_protocol.x
index 24340433d6..d5541a999a 100644
--- a/src/logging/log_protocol.x
+++ b/src/logging/log_protocol.x
@@ -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
--
2.38.1