mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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>
(cherry picked from commit f0590decb6)
This commit is contained in:
committed by
Alan Coopersmith
parent
9ac862ff82
commit
5722da8f4b
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user