mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-02 05:50:40 +00:00
Avoid to typedef twice MainChannel
MainChannel is already defined in main-channel.h. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
parent
beec1b4175
commit
177c331c53
@ -21,12 +21,10 @@
|
||||
#include <common/messages.h>
|
||||
|
||||
#include "red-channel-client.h"
|
||||
#include "main-channel.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/* FIXME: remove extra MainChannel typedef when possible */
|
||||
typedef struct MainChannel MainChannel;
|
||||
|
||||
#define TYPE_MAIN_CHANNEL_CLIENT main_channel_client_get_type()
|
||||
|
||||
#define MAIN_CHANNEL_CLIENT(obj) \
|
||||
|
||||
@ -23,7 +23,6 @@
|
||||
#include <common/marshaller.h>
|
||||
|
||||
#include "red-channel.h"
|
||||
#include "main-channel-client.h"
|
||||
|
||||
#define MAIN_CHANNEL(channel) ((MainChannel*)(channel))
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user