(!1788) 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>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-02-12 11:24:02 +01:00
parent b48b09b950
commit 2eb9c61fb0

View File

@ -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
};