From 0df5550c1ed7f0d850cc995380cca8a546fb398d Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sat, 6 Nov 2010 17:24:51 +0200 Subject: [PATCH] Privatize appropriate module typedefs --- 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 9e2ef4a598..886711f4cd 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 bc60ef4ec6..797b3e3267 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 -- 2.39.5