[Spice-devel] [spice-server 3/5] channel-client: Remove SpiceServerError typedef
Christophe Fergeau
cfergeau at redhat.com
Thu Oct 12 10:13:24 UTC 2017
The typename is unused, and glib-mkenums would try to generate a type with the
same name when parsing red-channel-client.h
---
server/red-channel-client.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/server/red-channel-client.h b/server/red-channel-client.h
index 56503c44b..d57f54cc7 100644
--- a/server/red-channel-client.h
+++ b/server/red-channel-client.h
@@ -174,10 +174,10 @@ struct RedChannelClientClass
#define SPICE_SERVER_ERROR spice_server_error_quark()
GQuark spice_server_error_quark(void);
-typedef enum
+enum
{
SPICE_SERVER_ERROR_FAILED
-} SpiceServerError;
+};
/* Messages handled by RedChannel
* SET_ACK - sent to client on channel connection
--
2.13.6
More information about the Spice-devel
mailing list