summaryrefslogtreecommitdiff
path: root/src/input/input_http.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-01-18 23:02:18 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-01-18 23:02:18 +0000
commit45c71725f5672cd446652f93184a8a6c48c8b0e2 (patch)
tree4ad84509679d81f4ae2e94143ad19550d3642cef /src/input/input_http.c
parent4c76831ce7f58c28b4fc07e3879e5334142e073c (diff)
downloadxine-lib-45c71725f5672cd446652f93184a8a6c48c8b0e2.tar.gz
xine-lib-45c71725f5672cd446652f93184a8a6c48c8b0e2.tar.bz2
Make get_description function return a const char * rather than just a char *, so that 'return "something"' is valid. Note that _()/gettext() returns a char * but statically allocated, that the documentation considers constant.
CVS patchset: 8519 CVS date: 2007/01/18 23:02:18
Diffstat (limited to 'src/input/input_http.c')
-rw-r--r--src/input/input_http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/input_http.c b/src/input/input_http.c
index 9011fba7f..18990e2bf 100644
--- a/src/input/input_http.c
+++ b/src/input/input_http.c
@@ -19,7 +19,7 @@
*
* input plugin for http network streams
*
- * $Id: input_http.c,v 1.125 2006/12/08 16:26:10 mshopf Exp $
+ * $Id: input_http.c,v 1.126 2007/01/18 23:02:18 dgp85 Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -990,7 +990,7 @@ static input_plugin_t *http_class_get_instance (input_class_t *cls_gen, xine_str
return &this->input_plugin;
}
-static char *http_class_get_description (input_class_t *this_gen) {
+static const char *http_class_get_description (input_class_t *this_gen) {
return _("http input plugin");
}