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> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile.am | ||
| dri_helpers.c | ||
| dri_helpers.h | ||
| gen_gl_wrappers.py | ||
| glshim.c | ||
| glthunk.c | ||
| glwindows.h | ||
| indirect.c | ||
| indirect.h | ||
| meson.build | ||
| wgl_ext_api.c | ||
| wgl_ext_api.h | ||
| winpriv.c | ||
| winpriv.h | ||