xserver/hw/xfree86/os-support/bus
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
..
Pci.c xfree86: os-support: simplify pci init 2024-06-18 00:41:38 +00:00
Pci.h xfree86: os-support: simplify pci init 2024-06-18 00:41:38 +00:00
Sbus.c Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
nobus.c hw/xfree86: nobus.c shouldn't define a static function 2014-01-12 10:14:51 -08:00
xf86Pci.h xfree86: Move DRICreatePCIBusID to xf86Pci.h 2017-06-22 10:53:08 -04:00
xf86Sbus.h Replace all checks for 'linux' macro with '__linux__' 2017-05-11 15:24:05 -04:00