xserver/hw/kdrive
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
..
ephyr xephyr: Check for host XVideo support before trying to use it 2017-09-22 18:45:59 +02:00
fake kdrive: switch from select(2) to poll(2) 2016-07-18 15:25:59 -04:00
fbdev kdrive: Delete unused TOUCHSCREEN define. 2015-10-06 10:43:05 -04:00
linux Switch poll() users to xserver_poll() 2016-07-21 15:04:36 -04:00
src Use ARRAY_SIZE all over the tree 2021-02-20 17:39:29 -08:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00
Xkdrive.man kdrive: Remove some dead bits of the man page 2014-07-29 09:51:40 -04:00