xfree86: sfbmodule: 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
03becba76b
commit
f0590decb6
|
@ -17,4 +17,6 @@ static XF86ModuleVersionInfo VersRec = {
|
|||
{0, 0, 0, 0} /* signature, to be patched into the file by a tool */
|
||||
};
|
||||
|
||||
_X_EXPORT XF86ModuleData shadowfbModuleData = { &VersRec, NULL, NULL };
|
||||
_X_EXPORT XF86ModuleData shadowfbModuleData = {
|
||||
.vers = &VersRec
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue