mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-13 01:59:34 +00:00
server: Duplicate typedef definitions are not allowed in C99
This fixes some compilation errors with gcc 4.4.7 on RHEL 6. Signed-off-by: Francois Gouget <fgouget@codeweavers.com> Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
This commit is contained in:
parent
bd2bbe2fdd
commit
37763930cd
@ -128,7 +128,6 @@ typedef struct OutgoingHandler {
|
||||
|
||||
/* Red Channel interface */
|
||||
|
||||
typedef struct RedsStream RedsStream;
|
||||
typedef struct RedChannel RedChannel;
|
||||
typedef struct RedChannelClient RedChannelClient;
|
||||
typedef struct RedClient RedClient;
|
||||
|
||||
@ -23,7 +23,6 @@
|
||||
#include "red_channel.h"
|
||||
|
||||
typedef struct RedDispatcher RedDispatcher;
|
||||
typedef struct RedChannelClient RedChannelClient;
|
||||
|
||||
typedef struct AsyncCommand AsyncCommand;
|
||||
|
||||
|
||||
@ -233,7 +233,7 @@ typedef struct RedSurface {
|
||||
QXLReleaseInfoExt create, destroy;
|
||||
} RedSurface;
|
||||
|
||||
typedef struct RedWorker {
|
||||
struct RedWorker {
|
||||
pthread_t thread;
|
||||
clockid_t clockid;
|
||||
QXLInstance *qxl;
|
||||
@ -290,7 +290,7 @@ typedef struct RedWorker {
|
||||
int driver_cap_monitors_config;
|
||||
|
||||
FILE *record_fd;
|
||||
} RedWorker;
|
||||
};
|
||||
|
||||
typedef enum {
|
||||
BITMAP_DATA_TYPE_INVALID,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user