xserver/hw/xfree86/dri
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
..
dri.c Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
dri.h xfree86: Move DRICreatePCIBusID to the PCI code 2017-06-20 16:37:24 -04:00
dristruct.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
meson.build meson: Make driprotos and libdrm optional 2017-05-10 14:43:13 -04:00
sarea.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xf86dri.c dix: unexport some lookup functions 2024-04-15 18:11:57 -07:00