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> |
||
---|---|---|
.. | ||
dgaproc.h | ||
Makefile.am | ||
modinit.c | ||
modinit.h | ||
xf86dga2.c | ||
xf86vmode.c | ||
xvmod.c | ||
xvmodproc.h |