xserver/hw/kdrive
Enrico Weigelt, metux IT consult a3f88ae029 kdrive: 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-04-02 17:37:14 +00:00
..
ephyr kdrive: replace xallocarray() by calloc() 2025-04-02 17:37:14 +00:00
src kdrive: replace xallocarray() by calloc() 2025-04-02 17:37:14 +00:00
Xkdrive.man kdrive: Xkdrive.man: remove stray whitespace 2025-04-02 00:54:31 +00:00
meson.build Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00