[PATCH] xfree86: Remove unused constants supposedly for isc cc. Signed-off-by: Jesse Adkins <jesserayadkins at gmail.com>
Peter Hutterer
peter.hutterer at who-t.net
Sun Aug 1 20:40:07 PDT 2010
On Sun, Aug 01, 2010 at 08:40:04PM -0300, Fernando Carrijo wrote:
> 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?
only by the keyboard driver. I wouldn't mind moving these into that driver.
Cheers,
Peter
More information about the xorg-devel
mailing list