[Spice-devel] [PATCH spice-protocol] RFE - vdi-dev: mark as deprecated

Christophe Fergeau cfergeau at redhat.com
Thu Dec 4 08:16:36 PST 2014


On Thu, Dec 04, 2014 at 04:48:12PM +0100, Marc-André Lureau wrote:
> This interface has long been deprecated, and I don't know of any user.
> Perhaps the header could even be removed from spice-protocol?
> ---
>  spice/vdi_dev.h | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/spice/vdi_dev.h b/spice/vdi_dev.h
> index 8e0eec9..d51cb2a 100644
> --- a/spice/vdi_dev.h
> +++ b/spice/vdi_dev.h
> @@ -37,6 +37,10 @@
>  
>  #include <spice/start-packed.h>
>  
> +#ifndef SPICE_DISABLE_DEPRECATED
> +#error "This Spice interface is deprecated"

upper case SPICE maybe? ACK either way (couldn't find any users either)

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20141204/994fc6b9/attachment-0001.sig>


More information about the Spice-devel mailing list