mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-27 16:20:06 +01: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>
This commit is contained in:
parent
03becba76b
commit
f0590decb6
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue