On Sun, Aug 01, 2010 at 08:40:04PM -0300, Fernando Carrijo wrote: > Jesse Adkins <[email protected]> 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 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
