xserver/hw/xfree86/loader
Enrico Weigelt, metux IT consult 901132b766 xfree86: replace xallocarray() by calloc()
Only key difference that calloc(), in contrast to rellocarray(),
is zero-initializing. The overhead is hard to measure on today's
machines, and it's safer programming practise to always allocate
zero-initialized, so one can't forget to do it explicitly.

Cocci rule:

    @@
    expression COUNT;
    expression LEN;
    @@
    - xallocarray(COUNT,LEN)
    + calloc(COUNT,LEN)

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 17:21:44 +02:00
..
loader.c Revert "xfree86: loader: drop unused LoaderShouldIgnoreABI()" 2025-02-07 14:46:21 +01:00
loader.h loader: Move LoaderSymbolFromModule() to public API 2019-11-13 19:49:18 +00:00
loaderProcs.h loader: Remove unused path and name from ModuleDescPtr 2017-01-25 14:22:06 -05:00
loadmod.c xfree86: replace xallocarray() by calloc() 2025-06-12 17:21:44 +02:00
meson.build Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
symbol-test.c xfree86: build a shared lib identical to Xorg 2017-05-15 09:14:42 -07:00