[PATCH v2] dix and others: remove unused arraySize field from ScreenInfo

Keith Packard keithp at keithp.com
Fri Apr 23 17:36:36 PDT 2010


On Fri, 23 Apr 2010 15:25:26 +0300, Tiago Vignatti <tiago.vignatti at nokia.com> wrote:

> diff --git a/include/scrnintstr.h b/include/scrnintstr.h
> index c42119d..5a7c57d 100644
> --- a/include/scrnintstr.h
> +++ b/include/scrnintstr.h
> @@ -615,7 +615,7 @@ typedef struct _ScreenInfo {
>      int		numPixmapFormats;
>      PixmapFormatRec
>  		formats[MAXFORMATS];
> -    int		arraySize;
> +    int		unused2;

Just remove the field please, and bump the ABI version. We don't need to
keep kruft around in the screen record.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100423/052866cb/attachment.pgp>


More information about the xorg-devel mailing list