server/red_worker: don't typedef SpiceWatch twice

First defined in spice.h, fixes build failure with gcc 4.4.6
This commit is contained in:
Alon Levy 2012-03-20 12:58:17 +02:00
parent 914e50814f
commit 910a3f8419

View File

@ -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,