mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-15 09:10:37 +01:00
xfree86: doc: update docs on 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 80f5d29c84)
This commit is contained in:
parent
511243a4c1
commit
a1be877d43
1 changed files with 1 additions and 1 deletions
|
|
@ -7732,7 +7732,7 @@ static const OptionInfoRec ZZZOptions[] = {
|
|||
<programlisting>
|
||||
static MODULESETUPPROTO(zzzSetup);
|
||||
|
||||
XF86ModuleData zzzModuleData = { &zzzVersRec, zzzSetup, NULL };
|
||||
XF86ModuleData zzzModuleData = { .vers = &zzzVersRec, .setup = zzzSetup, .teardown = NULL };
|
||||
|
||||
static pointer
|
||||
zzzSetup(pointer module, pointer opts, int *errmaj, int *errmin)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue