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_pvr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/input/input_pvr.c') diff --git a/src/input/input_pvr.c b/src/input/input_pvr.c index 0cbffd47d..25b069894 100644 --- a/src/input/input_pvr.c +++ b/src/input/input_pvr.c @@ -38,7 +38,7 @@ * usage: * xine pvr:/\!\! * - * $Id: input_pvr.c,v 1.46 2004/06/13 21:28:56 miguelfreitas Exp $ + * $Id: input_pvr.c,v 1.47 2004/07/20 00:50:11 rockyb Exp $ */ /************************************************************************** @@ -1514,7 +1514,7 @@ static char *pvr_class_get_description (input_class_t *this_gen) { return _("WinTV-PVR 250/350 input plugin"); } -static char *pvr_class_get_identifier (input_class_t *this_gen) { +static const char *pvr_class_get_identifier (input_class_t *this_gen) { return "pvr"; } -- cgit v1.2.3