diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-06-21 09:43:42 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2011-06-22 16:29:52 +0200 |
commit | e261cb2d54d417cfe0cc7613eec297e7fcfbc7c0 (patch) | |
tree | fd0566d29f2b47ee7dbc31a87555a42be1894cc9 /server/reds.h | |
parent | df95fc65fb882e01202116f997afe330b8475b88 (diff) | |
download | spice-e261cb2d54d417cfe0cc7613eec297e7fcfbc7c0.tar.gz spice-e261cb2d54d417cfe0cc7613eec297e7fcfbc7c0.tar.xz spice-e261cb2d54d417cfe0cc7613eec297e7fcfbc7c0.zip |
s/__visible__/SPICE_GNUC_VISIBLE
The C specification reserves use of identifiers starting with __
to the compiler so we shouldn't use one such symbol.
Diffstat (limited to 'server/reds.h')
-rw-r--r-- | server/reds.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/reds.h b/server/reds.h index 07f0a11f..940f1e2a 100644 --- a/server/reds.h +++ b/server/reds.h @@ -30,7 +30,7 @@ #include "common/messages.h" #include "spice.h" -#define __visible__ __attribute__ ((visibility ("default"))) +#define SPICE_GNUC_VISIBLE __attribute__ ((visibility ("default"))) typedef struct RedsStream RedsStream; |