summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2013-10-07 14:01:24 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2014-01-20 12:15:41 +0100
commit73c56e5a2d952bf566c3fbff5e9aefff70ddd59a (patch)
treedf561b5df68b9bd9de41daac6e3dc15764b855f3
parent7d9018d441cbb91207157b787c510da03101ef98 (diff)
downloadspice-73c56e5a2d952bf566c3fbff5e9aefff70ddd59a.tar.gz
spice-73c56e5a2d952bf566c3fbff5e9aefff70ddd59a.tar.xz
spice-73c56e5a2d952bf566c3fbff5e9aefff70ddd59a.zip
Move SPICE_GNUC_VISIBLE to red_common.h
-rw-r--r--server/red_common.h2
-rw-r--r--server/reds.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/red_common.h b/server/red_common.h
index 585b13c9..b6b643ac 100644
--- a/server/red_common.h
+++ b/server/red_common.h
@@ -29,6 +29,8 @@
#include "spice.h"
+#define SPICE_GNUC_VISIBLE __attribute__ ((visibility ("default")))
+
enum {
STREAM_VIDEO_INVALID,
STREAM_VIDEO_OFF,
diff --git a/server/reds.h b/server/reds.h
index 1c5ae84f..3efea6ae 100644
--- a/server/reds.h
+++ b/server/reds.h
@@ -34,8 +34,6 @@
#include "red_channel.h"
#include "migration_protocol.h"
-#define SPICE_GNUC_VISIBLE __attribute__ ((visibility ("default")))
-
#if HAVE_SASL
typedef struct RedsSASL {
sasl_conn_t *conn;