From 73c56e5a2d952bf566c3fbff5e9aefff70ddd59a Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Mon, 7 Oct 2013 14:01:24 +0200 Subject: [PATCH] Move SPICE_GNUC_VISIBLE to red_common.h --- 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 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;