mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 18:40:02 +01:00
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
|
||
|---|---|---|
| .. | ||
| alpha_video.c | ||
| arm_video.c | ||
| bsd_apm.c | ||
| bsd_bell.c | ||
| bsd_ev56.c | ||
| bsd_init.c | ||
| bsd_kmod.c | ||
| bsd_kqueue_apm.c | ||
| bsd_VTsw.c | ||
| i386_video.c | ||
| Makefile.am | ||
| memrange.h | ||
| ppc_video.c | ||
| sparc64_video.c | ||