From 58275b9dd582d873d42c08a47873ae44b67f1003 Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Fri, 5 Mar 2010 14:24:37 +0100 Subject: [PATCH] modules: Put bool at the end of the structure to eventually ease packing. --- src/modules/modules.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/modules/modules.h b/src/modules/modules.h index 2973c43aa4..158485045e 100644 --- a/src/modules/modules.h +++ b/src/modules/modules.h @@ -112,9 +112,6 @@ struct module_t char *psz_capability; /**< Capability */ int i_score; /**< Score for the capability */ - bool b_unloadable; /**< Can we be dlclosed? */ - bool b_submodule; /**< Is this a submodule? */ - /* Callbacks */ int ( * pf_activate ) ( vlc_object_t * ); void ( * pf_deactivate ) ( vlc_object_t * ); @@ -137,6 +134,12 @@ struct module_t bool b_builtin; /* Set to true if the module is built in */ bool b_loaded; /* Set to true if the dll is loaded */ + + /* + * Other variables set by the module to identify itself + */ + bool b_unloadable; /**< Can we be dlclosed? */ + bool b_submodule; /**< Is this a submodule? */ }; module_t *vlc_module_create (vlc_object_t *); -- 2.39.2