diff options
author | Rocky Bernstein <rockyb@users.sourceforge.net> | 2004-07-20 00:50:10 +0000 |
---|---|---|
committer | Rocky Bernstein <rockyb@users.sourceforge.net> | 2004-07-20 00:50:10 +0000 |
commit | 2bb0f28dc8252b31f496f0e5bb9b590391e1b129 (patch) | |
tree | 221f41790ccd7aebb8f198660a10ae92d700e1ee /src/input/input_cdda.c | |
parent | 389adc46d80045a1de20d60217b57dd5707311dd (diff) | |
download | xine-lib-2bb0f28dc8252b31f496f0e5bb9b590391e1b129.tar.gz xine-lib-2bb0f28dc8252b31f496f0e5bb9b590391e1b129.tar.bz2 |
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
Diffstat (limited to 'src/input/input_cdda.c')
-rw-r--r-- | src/input/input_cdda.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/input_cdda.c b/src/input/input_cdda.c index 7ea7e2074..833f3b025 100644 --- a/src/input/input_cdda.c +++ b/src/input/input_cdda.c @@ -20,7 +20,7 @@ * Compact Disc Digital Audio (CDDA) Input Plugin * by Mike Melanson (melanson@pcisys.net) * - * $Id: input_cdda.c,v 1.60 2004/06/13 21:28:55 miguelfreitas Exp $ + * $Id: input_cdda.c,v 1.61 2004/07/20 00:50:10 rockyb Exp $ */ #ifdef HAVE_CONFIG_H @@ -2468,7 +2468,7 @@ static input_plugin_t *cdda_class_get_instance (input_class_t *cls_gen, xine_str } -static char *cdda_class_get_identifier (input_class_t *this_gen) { +static const char *cdda_class_get_identifier (input_class_t *this_gen) { return "cdda"; } |