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_file.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_file.c')
-rw-r--r-- | src/input/input_file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/input_file.c b/src/input/input_file.c index 3a413d680..2550cd2ca 100644 --- a/src/input/input_file.c +++ b/src/input/input_file.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_file.c,v 1.59 2002/09/19 00:23:29 guenter Exp $ + * $Id: input_file.c,v 1.60 2002/09/22 14:29:40 mroi Exp $ */ #ifdef HAVE_CONFIG_H @@ -427,7 +427,7 @@ static int is_a_dir(char *filepathname) { /* * */ -static const xine_mrl_t *const *file_plugin_get_dir (input_plugin_t *this_gen, +static xine_mrl_t **file_plugin_get_dir (input_plugin_t *this_gen, const char *filename, int *nFiles) { file_input_plugin_t *this = (file_input_plugin_t *) this_gen; struct dirent *pdirent; @@ -740,7 +740,7 @@ static const xine_mrl_t *const *file_plugin_get_dir (input_plugin_t *this_gen, } */ - return (const xine_mrl_t *const *)this->mrls; + return this->mrls; } /* |