diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-09-22 14:29:40 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-09-22 14:29:40 +0000 |
commit | 0e7d3d993b4cc1db5e498fa6779386a771f08c97 (patch) | |
tree | 558e87c5ed984fe6fb4375d20499636a0c796cbc /src/input/input_cda.c | |
parent | a3cdd89faa5fd449b807d2d6a9c818649032003b (diff) | |
download | xine-lib-0e7d3d993b4cc1db5e498fa6779386a771f08c97.tar.gz xine-lib-0e7d3d993b4cc1db5e498fa6779386a771f08c97.tar.bz2 |
API review part I
- bring our beloved xine_t * back (no more const there)
- remove const on some input plugin functions
where the data changes with media (dvd, ...) changes
and is therefore not const
CVS patchset: 2740
CVS date: 2002/09/22 14:29:40
Diffstat (limited to 'src/input/input_cda.c')
-rw-r--r-- | src/input/input_cda.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/input/input_cda.c b/src/input/input_cda.c index 202db5af6..6409da03e 100644 --- a/src/input/input_cda.c +++ b/src/input/input_cda.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: input_cda.c,v 1.33 2002/09/06 18:13:10 mroi Exp $ + * $Id: input_cda.c,v 1.34 2002/09/22 14:29:40 mroi Exp $ */ #ifdef HAVE_CONFIG_H @@ -1619,7 +1619,7 @@ static char *cda_plugin_get_identifier (input_plugin_t *this_gen) { /* * Get dir. */ -static const xine_mrl_t *const *cda_plugin_get_dir (input_plugin_t *this_gen, +static xine_mrl_t **cda_plugin_get_dir (input_plugin_t *this_gen, const char *filename, int *nEntries) { cda_input_plugin_t *this = (cda_input_plugin_t *) this_gen; int i; @@ -1695,13 +1695,13 @@ static const xine_mrl_t *const *cda_plugin_get_dir (input_plugin_t *this_gen, _LEAVE_FUNC(); - return (const xine_mrl_t *const *)this->mrls; + return this->mrls; } /* * Get autoplay. */ -static const char *const *cda_plugin_get_autoplay_list (input_plugin_t *this_gen, int *nFiles) { +static char **cda_plugin_get_autoplay_list (input_plugin_t *this_gen, int *nFiles) { cda_input_plugin_t *this = (cda_input_plugin_t *) this_gen; int i; @@ -1743,7 +1743,7 @@ static const char *const *cda_plugin_get_autoplay_list (input_plugin_t *this_gen _LEAVE_FUNC(); - return (const char *const *)this->filelist; + return this->filelist; } /* |