This structure is used only in canvas_utils.c Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- common/canvas_utils.c | 9 +++++++++ common/canvas_utils.h | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/common/canvas_utils.c b/common/canvas_utils.c index 0be761a..626f17d 100644 --- a/common/canvas_utils.c +++ b/common/canvas_utils.c @@ -27,6 +27,15 @@ static int gdi_handlers = 0; #endif +typedef struct PixmanData { +#ifdef WIN32 + HBITMAP bitmap; + HANDLE mutex; +#endif + uint8_t *data; + pixman_format_code_t format; +} PixmanData; + static void release_data(SPICE_GNUC_UNUSED pixman_image_t *image, void *release_data) { diff --git a/common/canvas_utils.h b/common/canvas_utils.h index ef3f9c5..63d0fbb 100644 --- a/common/canvas_utils.h +++ b/common/canvas_utils.h @@ -31,15 +31,6 @@ SPICE_BEGIN_DECLS -typedef struct PixmanData { -#ifdef WIN32 - HBITMAP bitmap; - HANDLE mutex; -#endif - uint8_t *data; - pixman_format_code_t format; -} PixmanData; - void spice_pixman_image_set_format(pixman_image_t *image, pixman_format_code_t format); int spice_pixman_image_get_format(pixman_image_t *image, pixman_format_code_t *format); -- 2.14.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel