[Spice-devel] [PATCH 01/17] Move SPICE_GNUC_VISIBLE to red_common.h

Christophe Fergeau cfergeau at redhat.com
Tue Jan 7 03:14:27 PST 2014


---
 server/red_common.h | 2 ++
 server/reds.h       | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/red_common.h b/server/red_common.h
index 585b13c..b6b643a 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 1c5ae84..3efea6a 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;
-- 
1.8.4.2



More information about the Spice-devel mailing list