vlc | branch: master | Rémi Denis-Courmont <r...@remlab.net> | Sat Nov  6 
17:24:51 2010 +0200| [0df5550c1ed7f0d850cc995380cca8a546fb398d] | committer: 
Rémi Denis-Courmont 

Privatize appropriate module typedefs

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

 include/vlc_common.h  |    3 ---
 src/modules/modules.h |    6 ++++--
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/include/vlc_common.h b/include/vlc_common.h
index 9e2ef4a..886711f 100644
--- a/include/vlc_common.h
+++ b/include/vlc_common.h
@@ -204,11 +204,8 @@ typedef struct services_discovery_sys_t 
services_discovery_sys_t;
 typedef struct playlist_add_t playlist_add_t;
 
 /* Modules */
-typedef struct module_bank_t module_bank_t;
 typedef struct module_t module_t;
 typedef struct module_config_t module_config_t;
-typedef struct module_symbols_t module_symbols_t;
-typedef struct module_cache_t module_cache_t;
 
 typedef struct config_category_t config_category_t;
 
diff --git a/src/modules/modules.h b/src/modules/modules.h
index bc60ef4..797b3e3 100644
--- a/src/modules/modules.h
+++ b/src/modules/modules.h
@@ -24,12 +24,14 @@
 #ifndef LIBVLC_MODULES_H
 # define LIBVLC_MODULES_H 1
 
+typedef struct module_cache_t module_cache_t;
+
 /*****************************************************************************
  * module_bank_t: the module bank
  *****************************************************************************
  * This variable is accessed by any function using modules.
  *****************************************************************************/
-struct module_bank_t
+typedef struct module_bank_t
 {
     unsigned         i_usage;
 
@@ -44,7 +46,7 @@ struct module_bank_t
     module_cache_t **pp_loaded_cache;
 
     module_t       *head;
-};
+} module_bank_t;
 
 /*****************************************************************************
  * Module cache description structure

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to