diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-01-18 23:02:18 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-01-18 23:02:18 +0000 |
commit | 45c71725f5672cd446652f93184a8a6c48c8b0e2 (patch) | |
tree | 4ad84509679d81f4ae2e94143ad19550d3642cef /src/input/input_plugin.h | |
parent | 4c76831ce7f58c28b4fc07e3879e5334142e073c (diff) | |
download | xine-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_plugin.h')
-rw-r--r-- | src/input/input_plugin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/input_plugin.h b/src/input/input_plugin.h index f686f2227..aebbd08e7 100644 --- a/src/input/input_plugin.h +++ b/src/input/input_plugin.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: input_plugin.h,v 1.62 2006/12/22 16:38:15 klan Exp $ + * $Id: input_plugin.h,v 1.63 2007/01/18 23:02:18 dgp85 Exp $ */ #ifndef HAVE_INPUT_PLUGIN_H @@ -60,7 +60,7 @@ struct input_class_s { * return human readable (verbose = 1 line) description for * this plugin class */ - char* (*get_description) (input_class_t *this); + const char* (*get_description) (input_class_t *this); /* * ls function, optional: may be NULL |