(!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:
parent
b48b09b950
commit
2eb9c61fb0
|
@ -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