(!1788) 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>
This commit is contained in:
		
							parent
							
								
									44d38c9e8e
								
							
						
					
					
						commit
						881184d664
					
				|  | @ -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