xserver-multidpi/hw/xfree86/dixmods/extmod
Daniel Stone f48d8f58b3 extmod: Use ARRAY_SIZE rather than sentinel
When the array gets down to size zero (which it does in later patches),
gcc complains that the index is out of bounds.  Avoid this by using
ARRAY_SIZE on extensionModules instead.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Stéphane Marchesin <stephane.marchesin@gmail.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2012-07-09 23:06:41 -07:00
..
dgaproc.h xf86dga: handle DGAAvailable for gpu screens. (v2) 2012-07-07 10:37:10 +01:00
Makefile.am Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
modinit.c extmod: Use ARRAY_SIZE rather than sentinel 2012-07-09 23:06:41 -07:00
modinit.h Replace INITARGS with void 2012-07-09 23:06:41 -07:00
xf86dga2.c Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
xf86vmode.c Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
xvmod.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xvmodproc.h xfree86: Add ifdef wrapper to xvmodproc.h 2012-05-14 13:29:20 +01:00