xserver/hw/xfree86/drivers/modesetting
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
..
dri2.c modesetting/dri2: Remove always true ifdef 2024-05-22 05:34:30 +00:00
driver.c Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
driver.h modesetting: Use a more optimal hw cursor size 2023-12-16 08:03:26 +02:00
drmmode_display.c Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
drmmode_display.h modesetting: Use a more optimal hw cursor size 2023-12-16 08:03:26 +02:00
dumb_bo.c modesetting: Include dix-config.h from dumb_bo.c 2015-05-12 08:02:11 -07:00
dumb_bo.h modesetting: Drop dumb_bo::map_count field and dead unmap code. 2014-12-11 11:26:19 -08:00
meson.build build: Switch to meson 0.56 2024-01-08 10:38:05 +00:00
modesetting.man modesetting: Enable TearFree by default 2023-12-17 16:59:57 +00:00
pageflip.c os: move xserver_poll.h into os/ directory 2024-06-21 00:53:39 +00:00
present.c Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
vblank.c xfree86: modesettig: fix missing include of <errno.h> 2024-03-21 17:32:30 +01:00