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>
This commit is contained in:
parent
e88762896e
commit
80f5d29c84
|
@ -7721,7 +7721,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…
Reference in New Issue