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> |
||
|---|---|---|
| .. | ||
| Makefile.am | ||
| appledri.c | ||
| appledri.h | ||
| appledristr.h | ||
| dri.c | ||
| dri.h | ||
| driWrap.c | ||
| driWrap.h | ||
| dristruct.h | ||
| x-hash.c | ||
| x-hash.h | ||
| x-hook.c | ||
| x-hook.h | ||
| x-list.c | ||
| x-list.h | ||
| xpr.h | ||
| xprAppleWM.c | ||
| xprCursor.c | ||
| xprEvent.c | ||
| xprEvent.h | ||
| xprFrame.c | ||
| xprScreen.c | ||