[spice-server 3/5] channel-client: Remove SpiceServerError typedef

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]