summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-01-02 18:46:49 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-01-02 18:46:49 +0100
commit2d2d8ad95d38fc879884ee8921dbdbdb7bb72de8 (patch)
treec9122241f401803180341cbe5ddf352289717fa4
parent150d8389b4a38b6041b284911742347e74dcea40 (diff)
downloadxine-lib-2d2d8ad95d38fc879884ee8921dbdbdb7bb72de8.tar.gz
xine-lib-2d2d8ad95d38fc879884ee8921dbdbdb7bb72de8.tar.bz2
Mark id as constant, as we always use a literal.
-rw-r--r--include/xine/xine_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xine/xine_plugin.h b/include/xine/xine_plugin.h
index 11ccc5e11..2939b17a9 100644
--- a/include/xine/xine_plugin.h
+++ b/include/xine/xine_plugin.h
@@ -50,7 +50,7 @@
typedef struct {
uint8_t type; /* one of the PLUGIN_* constants above */
uint8_t API; /* API version supported by this plugin */
- char *id; /* a name that identifies this plugin */
+ const char *id; /* a name that identifies this plugin */
uint32_t version; /* version number, increased every release */
const void *special_info; /* plugin-type specific, see structs below */
void *(*init)(xine_t *, void *); /* init the plugin class */