[vlc-commits] Hide module_bank

Rémi Denis-Courmont git at videolan.org
Sat Aug 13 21:24:47 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Aug 13 20:04:26 2011 +0300| [964658d0c262e06007bdcd71862c7844ce421d1e] | committer: Rémi Denis-Courmont

Hide module_bank

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=964658d0c262e06007bdcd71862c7844ce421d1e
---

 src/modules/modules.c |   14 ++++++++++++++
 src/modules/modules.h |   19 -------------------
 2 files changed, 14 insertions(+), 19 deletions(-)

diff --git a/src/modules/modules.c b/src/modules/modules.c
index 7dde884..db525f8 100644
--- a/src/modules/modules.c
+++ b/src/modules/modules.c
@@ -58,6 +58,20 @@
 
 #include "modules/modules.h"
 
+typedef struct
+{
+    unsigned         i_usage;
+
+    /* Plugins cache */
+    int            i_cache;
+    module_cache_t **pp_cache;
+
+    int            i_loaded_cache;
+    module_cache_t **pp_loaded_cache;
+
+    module_t       *head;
+} module_bank_t;
+
 static module_bank_t *p_module_bank = NULL;
 static vlc_mutex_t module_lock = VLC_STATIC_MUTEX;
 
diff --git a/src/modules/modules.h b/src/modules/modules.h
index 2b3e0af..797cd4e 100644
--- a/src/modules/modules.h
+++ b/src/modules/modules.h
@@ -27,25 +27,6 @@
 typedef struct module_cache_t module_cache_t;
 
 /*****************************************************************************
- * module_bank_t: the module bank
- *****************************************************************************
- * This variable is accessed by any function using modules.
- *****************************************************************************/
-typedef struct module_bank_t
-{
-    unsigned         i_usage;
-
-    /* Plugins cache */
-    int            i_cache;
-    module_cache_t **pp_cache;
-
-    int            i_loaded_cache;
-    module_cache_t **pp_loaded_cache;
-
-    module_t       *head;
-} module_bank_t;
-
-/*****************************************************************************
  * Module cache description structure
  *****************************************************************************/
 struct module_cache_t



More information about the vlc-commits mailing list