xserver/hw/xfree86/shadowfb/sfbmodule.c
Enrico Weigelt, metux IT consult f54993a222 xfree86: xfbmodule: use explicit field initializers for XF86ModuleData
Even though the order of these fields shouldn't change anytime
soon, it's still better programming style to name'em explicitly.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1788>
2025-02-17 19:41:30 +00:00

22 lines
532 B
C

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include "xf86Module.h"
static XF86ModuleVersionInfo VersRec = {
.modname = "shadowfb",
.vendor = MODULEVENDORSTRING,
._modinfo1_ = MODINFOSTRING1,
._modinfo2_ = MODINFOSTRING2,
.xf86version = XORG_VERSION_CURRENT,
.majorversion = 1,
.minorversion = 0,
.patchlevel = 0,
.abiclass = ABI_CLASS_ANSIC,
.abiversion = ABI_ANSIC_VERSION,
};
_X_EXPORT XF86ModuleData shadowfbModuleData = {
.vers = &VersRec
};