[PATCH] reduce header dependencies

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

 



Avoid to include headers in cursor-channel.h which are only
used by cursor-channel.c

Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 server/cursor-channel.c | 1 +
 server/cursor-channel.h | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/server/cursor-channel.c b/server/cursor-channel.c
index 3e3c7a7..268e34f 100644
--- a/server/cursor-channel.c
+++ b/server/cursor-channel.c
@@ -22,6 +22,7 @@
 #include <glib.h>
 #include "common/generated_server_marshallers.h"
 #include "cursor-channel.h"
+#include "cache-item.h"
 
 #define CLIENT_CURSOR_CACHE_SIZE 256
 
diff --git a/server/cursor-channel.h b/server/cursor-channel.h
index 967a117..4dad4b6 100644
--- a/server/cursor-channel.h
+++ b/server/cursor-channel.h
@@ -22,8 +22,6 @@
 #include "reds.h"
 #include "red-worker.h"
 #include "red-parse-qxl.h"
-#include "cache-item.h"
-#include "stat.h"
 
 typedef struct CursorChannel CursorChannel;
 typedef struct CursorChannelClient CursorChannelClient;
-- 
2.5.0

_______________________________________________
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]