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_v4l.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input/input_v4l.c') diff --git a/src/input/input_v4l.c b/src/input/input_v4l.c index 3c527f773..22aea7426 100644 --- a/src/input/input_v4l.c +++ b/src/input/input_v4l.c @@ -1889,7 +1889,7 @@ static char *v4l_class_get_radio_description (input_class_t *this_gen) { return _("v4l radio input plugin"); } -static char *v4l_class_get_identifier (input_class_t *this_gen) { +static const char *v4l_class_get_identifier (input_class_t *this_gen) { return "v4l"; } -- cgit v1.2.3