[Spice-commits] server/red_worker.c
Alon Levy
alon at kemper.freedesktop.org
Tue Mar 20 07:21:01 PDT 2012
server/red_worker.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 910a3f84196bc7d7d44dc153b79fdd2569bc9123
Author: Alon Levy <alevy at redhat.com>
Date: Tue Mar 20 12:58:17 2012 +0200
server/red_worker: don't typedef SpiceWatch twice
First defined in spice.h, fixes build failure with gcc 4.4.6
diff --git a/server/red_worker.c b/server/red_worker.c
index 46d46f3..0d09622 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -234,11 +234,11 @@ double inline stat_byte_to_mega(uint64_t size)
#define MAX_EVENT_SOURCES 20
#define INF_EVENT_WAIT ~0
-typedef struct SpiceWatch {
+struct SpiceWatch {
struct RedWorker *worker;
SpiceWatchFunc watch_func;
void *watch_func_opaque;
-} SpiceWatch;
+};
enum {
BUF_TYPE_RAW = 1,
More information about the Spice-commits
mailing list