Skip to content
Snippets Groups Projects
Forked from xorg / xserver
Loading
user avatar
Daniel Martin authored
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: default avatarDaniel Martin <consume.noise@gmail.com>
Reviewed-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
d5379b35
History