diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2016-04-05 15:37:58 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2016-04-06 10:30:00 +0200 |
commit | e37f97a9f8b8e6dd2d209645f17d57482e98632f (patch) | |
tree | e0c1ab64977fce9f618c88e5d450ea0fd5b5e91d /server/reds.h | |
parent | 852a9824a1a9643f15f0f4134d49aeca85e1cbbb (diff) |
reds: Move RedsState typedef to red-common.h
This allows to stop using struct RedsState * rather than RedsState * in
headers which cannot include reds.h. This also allows to remove the
duplicate RedsState typedef in reds.h and reds-stream.h which is causing
issues with older gcc versions.
Diffstat (limited to 'server/reds.h')
-rw-r--r-- | server/reds.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/server/reds.h b/server/reds.h index 83618e9f..2cfd4516 100644 --- a/server/reds.h +++ b/server/reds.h @@ -32,8 +32,6 @@ #include "main-dispatcher.h" #include "migration-protocol.h" -typedef struct RedsState RedsState; - static inline QXLInterface * qxl_get_interface(QXLInstance *qxl) { return SPICE_CONTAINEROF(qxl->base.sif, QXLInterface, base); |