summaryrefslogtreecommitdiff
path: root/src/input/input_net.c
diff options
context:
space:
mode:
authorRocky Bernstein <rockyb@users.sourceforge.net>2004-07-20 00:50:10 +0000
committerRocky Bernstein <rockyb@users.sourceforge.net>2004-07-20 00:50:10 +0000
commit2bb0f28dc8252b31f496f0e5bb9b590391e1b129 (patch)
tree221f41790ccd7aebb8f198660a10ae92d700e1ee /src/input/input_net.c
parent389adc46d80045a1de20d60217b57dd5707311dd (diff)
downloadxine-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_net.c')
-rw-r--r--src/input/input_net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/input_net.c b/src/input/input_net.c
index 0d560b9d4..f44bb6d81 100644
--- a/src/input/input_net.c
+++ b/src/input/input_net.c
@@ -20,7 +20,7 @@
* Read from a tcp network stream over a lan (put a tweaked mp1e encoder the
* other end and you can watch tv anywhere in the house ..)
*
- * $Id: input_net.c,v 1.58 2004/06/13 21:28:56 miguelfreitas Exp $
+ * $Id: input_net.c,v 1.59 2004/07/20 00:50:11 rockyb Exp $
*
* how to set up mp1e for use with this plugin:
*
@@ -511,7 +511,7 @@ static char *net_class_get_description (input_class_t *this_gen) {
return _("net input plugin as shipped with xine");
}
-static char *net_class_get_identifier (input_class_t *this_gen) {
+static const char *net_class_get_identifier (input_class_t *this_gen) {
return "TCP";
}