mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00: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:
committed by
Alan Coopersmith
parent
511243a4c1
commit
a1be877d43
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user