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/input_dvd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/input/input_dvd.c') diff --git a/src/input/input_dvd.c b/src/input/input_dvd.c index e060dd7a6..201d312f8 100644 --- a/src/input/input_dvd.c +++ b/src/input/input_dvd.c @@ -18,7 +18,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_dvd.c,v 1.184 2004/06/21 18:48:17 mroi Exp $ + * $Id: input_dvd.c,v 1.185 2004/07/20 00:50:11 rockyb Exp $ * */ @@ -1549,7 +1549,7 @@ static char *dvd_class_get_description (input_class_t *this_gen) { return "DVD Navigator"; } -static char *dvd_class_get_identifier (input_class_t *this_gen) { +static const char *dvd_class_get_identifier (input_class_t *this_gen) { trace_print("Called\n"); return "DVD"; -- cgit v1.2.3