xserver/hw/kdrive/src
Alan Coopersmith 1a4c3b3dac Move sizeof to second argument in calloc calls
Clears -Wcalloc-transposed-args warnings from gcc 14.1, such as:

../dix/main.c:165:42: warning: ‘calloc’ sizes specified with ‘sizeof’ in the
 earlier argument and not in the later argument [-Wcalloc-transposed-args]
  165 |             serverClient = calloc(sizeof(ClientRec), 1);
      |                                          ^~~~~~~~~
../dix/main.c:165:42: note: earlier argument should specify number of
 elements, later size of each element

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1606>
(cherry picked from commit 522f469fe9)
2026-01-25 10:39:55 -08:00
..
kcmap.c rename remaining RT_* defines to X11_RESTYPE_* 2026-01-19 12:48:30 -08:00
kdrive.c Xephyr: fix help output. 2023-01-22 22:35:59 +00:00
kdrive.h kdrive: Remove dead slots from KdCardFuncs 2017-05-03 16:01:25 -04:00
kinfo.c kdrive: Drop kdrive-config.h. 2017-03-23 13:17:36 -04:00
kinput.c Move sizeof to second argument in calloc calls 2026-01-25 10:39:55 -08:00
kshadow.c kdrive: Drop kdrive-config.h. 2017-03-23 13:17:36 -04:00
kxv.c Fix spelling/wording issues 2020-07-05 13:07:33 -07:00
kxv.h kdrive: static and dead code cleanup 2017-05-03 16:00:52 -04:00
meson.build mi: List extensions in usage message 2021-01-29 12:52:09 +00:00