xfree86: vgaHWmodule: 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>
This commit is contained in:
parent
3066125bec
commit
a2e20304e0
|
@ -9,16 +9,18 @@
|
|||
#include "xf86Module.h"
|
||||
|
||||
static XF86ModuleVersionInfo VersRec = {
|
||||
"vgahw",
|
||||
MODULEVENDORSTRING,
|
||||
MODINFOSTRING1,
|
||||
MODINFOSTRING2,
|
||||
XORG_VERSION_CURRENT,
|
||||
0, 1, 0,
|
||||
ABI_CLASS_VIDEODRV,
|
||||
ABI_VIDEODRV_VERSION,
|
||||
MOD_CLASS_NONE,
|
||||
{0, 0, 0, 0}
|
||||
.modname = "vgahw",
|
||||
.vendor = MODULEVENDORSTRING,
|
||||
._modinfo1_ = MODINFOSTRING1,
|
||||
._modinfo2_ = MODINFOSTRING2,
|
||||
.xf86version = XORG_VERSION_CURRENT,
|
||||
.majorversion = 0,
|
||||
.minorversion = 1,
|
||||
.patchlevel = 0,
|
||||
.abiclass = ABI_CLASS_VIDEODRV,
|
||||
.abiversion = ABI_VIDEODRV_VERSION,
|
||||
};
|
||||
|
||||
_X_EXPORT XF86ModuleData vgahwModuleData = { &VersRec, NULL, NULL };
|
||||
_X_EXPORT XF86ModuleData vgahwModuleData = {
|
||||
.vers = &VersRec
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue