[Spice-devel] [PATCH spice-common] proto: Use Empty keyword for empty message
Pavel Grunt
pgrunt at redhat.com
Thu Sep 8 14:15:38 UTC 2016
No need to generate marshallers for it
---
common/messages.h | 3 ---
spice.proto | 3 +--
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/common/messages.h b/common/messages.h
index 516a345..c787166 100644
--- a/common/messages.h
+++ b/common/messages.h
@@ -386,9 +386,6 @@ typedef struct SpiceMsgcDisplayStreamReport {
uint32_t audio_delay;
} SpiceMsgcDisplayStreamReport;
-typedef struct SpiceMsgcDisplayGlDrawDone {
-} SpiceMsgcDisplayGlDrawDone;
-
typedef struct SpiceMsgCursorInit {
SpicePoint16 position;
uint16_t trail_length;
diff --git a/spice.proto b/spice.proto
index 0bfc515..3742ef1 100644
--- a/spice.proto
+++ b/spice.proto
@@ -983,8 +983,7 @@ channel DisplayChannel : BaseChannel {
image_compression image_compression;
} preferred_compression;
- message {
- } gl_draw_done;
+ Empty gl_draw_done;
};
flags16 keyboard_modifier_flags {
--
2.10.0
More information about the Spice-devel
mailing list