[Spice-devel] [PATCH 06/13] server: reds/inputs_channel: move some structs to inputs_channel

Alon Levy alevy at redhat.com
Tue Dec 7 04:44:28 PST 2010


---
 server/inputs_channel.c |   12 ++++++++++++
 server/reds.h           |   12 ------------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/server/inputs_channel.c b/server/inputs_channel.c
index bcd1a86..54b2e2d 100644
--- a/server/inputs_channel.c
+++ b/server/inputs_channel.c
@@ -44,6 +44,18 @@
 #define RECEIVE_BUF_SIZE \
     (4096 + (REDS_AGENT_WINDOW_SIZE + REDS_NUM_INTERNAL_AGENT_MESSAGES) * SPICE_AGENT_MAX_DATA_SIZE)
 
+struct SpiceKbdState {
+    int dummy;
+};
+
+struct SpiceMouseState {
+    int dummy;
+};
+
+struct SpiceTabletState {
+    int dummy;
+};
+
 typedef struct InputsChannel {
     RedChannel base;
     uint8_t recv_buf[RECEIVE_BUF_SIZE];
diff --git a/server/reds.h b/server/reds.h
index 7f656e3..e440804 100644
--- a/server/reds.h
+++ b/server/reds.h
@@ -61,18 +61,6 @@ typedef struct Channel {
     void *data;
 } Channel;
 
-struct SpiceKbdState {
-    int dummy;
-};
-
-struct SpiceMouseState {
-    int dummy;
-};
-
-struct SpiceTabletState {
-    int dummy;
-};
-
 struct QXLState {
     QXLInterface          *qif;
     struct RedDispatcher  *dispatcher;
-- 
1.7.3.2



More information about the Spice-devel mailing list