From 0e7d3d993b4cc1db5e498fa6779386a771f08c97 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Sun, 22 Sep 2002 14:29:40 +0000 Subject: 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 --- src/input/input_file.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/input/input_file.c') 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; } /* -- cgit v1.2.3