xserver/hw/xfree86
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
..
common Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
ddc Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
dixmods Remove autotools support 2021-10-27 13:15:40 +03:00
doc Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
dri Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
dri2 dix: unexport some lookup functions 2024-04-15 18:11:57 -07:00
drivers Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
exa Remove autotools support 2021-10-27 13:15:40 +03:00
fbdevhw Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
glamor_egl xorg: initialize glamor provider 2023-11-07 17:59:43 +03:00
i2c Remove autotools support 2021-10-27 13:15:40 +03:00
int10 Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
loader Remove autotools support 2021-10-27 13:15:40 +03:00
man xorg.conf.man: Add missing new paragraph mark before AllowByteSwappedClients 2024-03-23 14:30:43 -07:00
modes Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
os-support Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
parser xfree86: parser: drop HAS_NO_UIDS 2024-03-03 22:38:52 +00:00
ramdac xfree86: use own dev-privates key for per-screen cursor 2024-03-12 15:24:35 +00:00
shadowfb Remove autotools support 2021-10-27 13:15:40 +03:00
utils Remove autotools support 2021-10-27 13:15:40 +03:00
vgahw Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
x86emu xfree86: x86emu: rename segment register fields 2024-06-18 00:41:38 +00:00
xkb xkb: drop defining XKBSRV_NEED_FILE_FUNCS 2024-02-19 00:44:15 +00:00
.gitignore Xorg: Add Xorg.wrap to hw/xfree86/.gitignore 2014-04-18 11:39:16 +02:00
Xorg.sh.in xfree86: rename Xorg.bin to Xorg 2015-01-05 09:53:58 +10:00
meson.build meson: Support building Xnest and Xorg on darwin 2022-06-26 09:16:42 +00:00
sdksyms.sh dbe: unexport dbestruct.h 2024-04-23 02:18:02 +00:00
xorg-wrapper.c Fix various spelling errors 2019-10-01 17:05:28 +00:00
xorgconf.cpp Fix spelling/wording issues 2020-07-05 13:07:33 -07:00