xserver/hw/xfree86/os-support/linux
Alan Coopersmith 522f469fe9 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>
2024-07-19 23:45:21 +00:00
..
int10 xfree86: linux: int10: drop dead code 2024-04-17 01:43:30 +00:00
linux.h linux: Add a may_fail paramter to linux_parse_vt_settings 2015-06-03 11:31:41 +02:00
lnx_acpi.c xfree86: unexport os-support functions 2024-04-18 00:40:39 +00:00
lnx_agp.c Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
lnx_apm.c xfree86: unexport os-support functions 2024-04-18 00:40:39 +00:00
lnx_bell.c xfree86: os-support: unexport xf86OSRingBell() 2024-04-18 00:40:39 +00:00
lnx_ev56.c xfree86: Remove MMIO_ONB* and friends 2014-07-28 12:19:01 -07:00
lnx_init.c xfree86: unexport os-support functions 2024-04-18 00:40:39 +00:00
lnx_kmod.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
lnx_video.c xfree86: os-support: move xf86OSInitVidMem() to xf86_os_support.h 2024-04-18 00:40:39 +00:00
systemd-logind.c include: move dbus-core.h to config 2024-04-23 01:46:24 +00:00