From 2bb0f28dc8252b31f496f0e5bb9b590391e1b129 Mon Sep 17 00:00:00 2001 From: Rocky Bernstein Date: Tue, 20 Jul 2004 00:50:10 +0000 Subject: Add const to get_identifier return type since that's n fact what it is. Should protect against a plugin returning a malloc'd variable for example. CVS patchset: 6821 CVS date: 2004/07/20 00:50:10 --- src/input/vcd/xineplug_inp_vcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/input/vcd') diff --git a/src/input/vcd/xineplug_inp_vcd.c b/src/input/vcd/xineplug_inp_vcd.c index 11a81ce4c..6b726894f 100644 --- a/src/input/vcd/xineplug_inp_vcd.c +++ b/src/input/vcd/xineplug_inp_vcd.c @@ -1,5 +1,5 @@ /* - $Id: xineplug_inp_vcd.c,v 1.22 2004/07/20 00:31:37 rockyb Exp $ + $Id: xineplug_inp_vcd.c,v 1.23 2004/07/20 00:50:11 rockyb Exp $ Copyright (C) 2002, 2003, 2004 Rocky Bernstein @@ -920,7 +920,7 @@ vcd_class_get_description (input_class_t *this_gen) this is used for GUI buttons, The identifier must have max. 4 characters characters (max. 5 including terminating \0) */ -static char * +static const char * vcd_class_get_identifier (input_class_t *this_gen) { dbg_print((INPUT_DBG_CALL|INPUT_DBG_EXT), "called\n"); return SHORT_PLUGIN_NAME; -- cgit v1.2.3