[Spice-devel] [PATCH 07/18] fix visibility

Alexander Larsson alexl at redhat.com
Wed Mar 31 02:39:20 PDT 2010


On Mon, 2010-03-29 at 17:08 +0200, Gerd Hoffmann wrote:
> diff --git a/server/spice.h b/server/spice.h
> index 9ef9d1a..b61e957 100644
> --- a/server/spice.h
> +++ b/server/spice.h
> @@ -21,6 +21,8 @@
>  #include <sys/socket.h>
>  #include "vd_interface.h"
>  
> +#define __visible__ __attribute__ ((visibility ("default")))
> +
>  /* old interface */
>  void spice_init(CoreInterface *core);

This needs to go in an internal spice-server header, not the public
header.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       alexl at redhat.com            alexander.larsson at gmail.com 
He's an unconventional white trash vagrant with a mysterious suitcase 
handcuffed to his arm. She's a blind extravagent journalist with an MBA from 
Harvard. They fight crime! 



More information about the Spice-devel mailing list