From 80f5d29c84b584beb219a47225215cbc7f8e4963 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 12 Feb 2025 11:24:02 +0100 Subject: [PATCH] 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 Part-of: --- hw/xfree86/doc/ddxDesign.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xfree86/doc/ddxDesign.xml b/hw/xfree86/doc/ddxDesign.xml index eb0bb03bb..237d1719a 100644 --- a/hw/xfree86/doc/ddxDesign.xml +++ b/hw/xfree86/doc/ddxDesign.xml @@ -7721,7 +7721,7 @@ static const OptionInfoRec ZZZOptions[] = { 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)