[PATCH] xfree86: Remove unused constants supposedly for isc cc. Signed-off-by: Jesse Adkins <jesserayadkins at gmail.com>

Fernando Carrijo fcarrijo at yahoo.com.br
Sun Aug 1 16:40:04 PDT 2010


Jesse Adkins <jesserayadkins at gmail.com> wrote:

> -/* ISC's cc can't handle ~ of UL constants, so explicitly type cast them. */
> -#define XLED1   ((unsigned long) 0x00000001)
> -#define XLED2   ((unsigned long) 0x00000002)
> -#define XLED3   ((unsigned long) 0x00000004)
> -#define XLED4	((unsigned long) 0x00000008)
> -#define XCAPS   ((unsigned long) 0x20000000)
> -#define XNUM    ((unsigned long) 0x40000000)
> -#define XSCR    ((unsigned long) 0x80000000)
> -#define XCOMP	((unsigned long) 0x00008000)

Some of the these macros are being used by drivers, aren't they?



More information about the xorg-devel mailing list