xserver/hw/xfree86/os-support
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
..
bsd xfree86: os-support: bsd: fix missing prototypes 2024-04-18 01:03:11 +00:00
bus Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
hurd xfree86: os-support: move xf86OSInitVidMem() to xf86_os_support.h 2024-04-18 00:40:39 +00:00
linux Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
misc xfree86: drop unused xf86SetReallySlowBcopy() 2024-04-17 01:54:28 +00:00
shared os: move xserver_poll.h into os/ directory 2024-06-21 00:53:39 +00:00
solaris Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
stub xfree86: os-support: move xf86OSInitVidMem() to xf86_os_support.h 2024-04-18 00:40:39 +00:00
int10Defines.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
meson.build xfree86: os-support: simplify pci init 2024-06-18 00:41:38 +00:00
xf86_OSlib.h xf86_OSlib.h: Don't need to include Solaris keyboard headers here 2024-05-13 23:14:48 +00:00
xf86_OSproc.h xfree86: os-support: move xf86FatalError macro out of public header 2024-04-18 00:40:39 +00:00
xf86_os_support.h fix FTBS on NetBSD 2024-07-06 19:40:10 +00:00