[Spice-devel] [PATCH] Remove deprecated init functions

Marc-André Lureau mlureau at redhat.com
Mon Jun 13 10:28:23 UTC 2016


ack

----- Original Message -----
> No need to keep API compatibility in spice-common.
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  common/quic.h      | 2 --
>  common/rop3.h      | 2 --
>  common/sw_canvas.h | 2 --
>  3 files changed, 6 deletions(-)
> 
> diff --git a/common/quic.h b/common/quic.h
> index 97622b3..7c1da85 100644
> --- a/common/quic.h
> +++ b/common/quic.h
> @@ -63,8 +63,6 @@ int quic_decode(QuicContext *quic, QuicImageType type,
> uint8_t *buf, int stride)
>  QuicContext *quic_create(QuicUsrContext *usr);
>  void quic_destroy(QuicContext *quic);
>  
> -static inline SPICE_GNUC_DEPRECATED void quic_init(void) {}
> -
>  SPICE_END_DECLS
>  
>  #endif
> diff --git a/common/rop3.h b/common/rop3.h
> index 20e100c..0f10e85 100644
> --- a/common/rop3.h
> +++ b/common/rop3.h
> @@ -32,8 +32,6 @@ void do_rop3_with_pattern(uint8_t rop3, pixman_image_t *d,
> pixman_image_t *s, Sp
>  void do_rop3_with_color(uint8_t rop3, pixman_image_t *d, pixman_image_t *s,
>  SpicePoint *src_pos,
>                          uint32_t rgb);
>  
> -static inline SPICE_GNUC_DEPRECATED void rop3_init(void) {}
> -
>  SPICE_END_DECLS
>  
>  #endif
> diff --git a/common/sw_canvas.h b/common/sw_canvas.h
> index 8039142..aa9e46f 100644
> --- a/common/sw_canvas.h
> +++ b/common/sw_canvas.h
> @@ -52,8 +52,6 @@ SpiceCanvas *canvas_create_for_data(int width, int height,
> uint32_t format, uint
>                             );
>  
>  
> -static inline SPICE_GNUC_DEPRECATED void sw_canvas_init(void) {}
> -
>  SPICE_END_DECLS
>  
>  #endif
> --
> 2.7.4
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
> 


More information about the Spice-devel mailing list