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> |
||
---|---|---|
.. | ||
man | ||
README | ||
fbdevhw.c | ||
fbdevhw.h | ||
fbdevhwstub.c | ||
fbpriv.h | ||
meson.build |
This is a submodule to access linux framebuffer devices. It is supported to work as helper module (like vgahw) for the chipset drivers. There are functions for saving/restoring/setting video modes, set palette entries, and a few more helper functions. Some of them can be hooked directly into ScrnInfoRec. In ../drivers/fbdev is a "chipset" driver. It is a simple, non-accelerated and hardware-independent driver which works on top of this fbdevhw submodule. Gerd -- Gerd Knorr <kraxel@goldbach.in-berlin.de>