xserver/xfixes
Daniel Martin cf1da0e797 Use ARRAY_SIZE all over the tree
Roundhouse kick replacing the various (sizeof(foo)/sizeof(foo[0])) with
the ARRAY_SIZE macro from dix.h when possible. A semantic patch for
coccinelle has been used first. Additionally, a few macros have been
inlined as they had only one or two users.

Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit d5379b350f)
2021-02-20 17:39:29 -08:00
..
cursor.c Use ARRAY_SIZE all over the tree 2021-02-20 17:39:29 -08:00
Makefile.am xfixes: Unexport xfixes.h 2015-07-08 16:40:58 -04:00
region.c xfixes: unvalidated lengths (CVE-2017-12183) 2017-10-12 12:25:10 -04:00
saveset.c xfixes: unvalidated lengths (CVE-2017-12183) 2017-10-12 12:25:10 -04:00
select.c dix: Push UpdateCurrentTimeIf down out of the main loop 2016-05-04 10:58:01 -04:00
xfixes.c Use ARRAY_SIZE all over the tree 2021-02-20 17:39:29 -08:00
xfixes.h xfixes: Unexport xfixes.h 2015-07-08 16:40:58 -04:00
xfixesint.h xfixes: ifdef PanoramiXFixes* (#62015) 2013-03-12 11:14:32 +10:00