mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-07 23:02:23 +00:00
Add static extensions before those in modules
Make sure we add static extensions before anything in a module. This is more or less a no-op at the moment, but will come in handy later when extension dependency sorting is removed. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
9a953e0e9d
commit
2fba9445a0
3 changed files with 29 additions and 11 deletions
|
|
@ -49,6 +49,10 @@ NewExtensionModule(void)
|
|||
ExtensionModule *save = ExtensionModuleList;
|
||||
int n;
|
||||
|
||||
/* Make sure built-in extensions get added to the list before those
|
||||
* in modules. */
|
||||
AddStaticExtensions();
|
||||
|
||||
/* Sanity check */
|
||||
if (!ExtensionModuleList)
|
||||
numExtensionModules = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue