[Spice-devel] [xf86-video-qxl] Remove MAX/MIN macros that are now included via spice/macros.h.

Christophe Fergeau cfergeau at redhat.com
Fri Oct 18 12:10:20 CEST 2013


ACK

On Thu, Oct 17, 2013 at 02:09:40PM -0500, Jeremy White wrote:
> Signed-off-by: Jeremy White <jwhite at codeweavers.com>
> ---
>  src/qxl_image.c |    3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/src/qxl_image.c b/src/qxl_image.c
> index 40798b3..2349fca 100644
> --- a/src/qxl_image.c
> +++ b/src/qxl_image.c
> @@ -125,9 +125,6 @@ remove_image_info (image_info_t *info)
>      free (info);
>  }
>  
> -#define MAX(a,b)  (((a) > (b))? (a) : (b))
> -#define MIN(a,b)  (((a) < (b))? (a) : (b))
> -
>  struct qxl_bo *
>  qxl_image_create (qxl_screen_t *qxl, const uint8_t *data,
>  		  int x, int y, int width, int height,
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20131018/0c312e47/attachment.pgp>


More information about the Spice-devel mailing list