summaryrefslogtreecommitdiff
path: root/src/plugins/plugin-infolist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/plugin-infolist.c')
-rw-r--r--src/plugins/plugin-infolist.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/plugin-infolist.c b/src/plugins/plugin-infolist.c
index 2b780f707..dd5495e1c 100644
--- a/src/plugins/plugin-infolist.c
+++ b/src/plugins/plugin-infolist.c
@@ -98,7 +98,7 @@ plugin_infolist_new_item (struct t_plugin_infolist *list)
struct t_plugin_infolist_var *
plugin_infolist_new_var_integer (struct t_plugin_infolist_item *item,
- char *name, int value)
+ const char *name, int value)
{
struct t_plugin_infolist_var *new_var;
@@ -132,7 +132,7 @@ plugin_infolist_new_var_integer (struct t_plugin_infolist_item *item,
struct t_plugin_infolist_var *
plugin_infolist_new_var_string (struct t_plugin_infolist_item *item,
- char *name, char *value)
+ const char *name, const char *value)
{
struct t_plugin_infolist_var *new_var;
@@ -164,7 +164,7 @@ plugin_infolist_new_var_string (struct t_plugin_infolist_item *item,
struct t_plugin_infolist_var *
plugin_infolist_new_var_pointer (struct t_plugin_infolist_item *item,
- char *name, void *pointer)
+ const char *name, void *pointer)
{
struct t_plugin_infolist_var *new_var;
@@ -196,7 +196,7 @@ plugin_infolist_new_var_pointer (struct t_plugin_infolist_item *item,
struct t_plugin_infolist_var *
plugin_infolist_new_var_time (struct t_plugin_infolist_item *item,
- char *name, time_t time)
+ const char *name, time_t time)
{
struct t_plugin_infolist_var *new_var;
@@ -340,7 +340,7 @@ plugin_infolist_get_fields (struct t_plugin_infolist *list)
*/
int
-plugin_infolist_get_integer (struct t_plugin_infolist *list, char *var)
+plugin_infolist_get_integer (struct t_plugin_infolist *list, const char *var)
{
struct t_plugin_infolist_var *ptr_var;
@@ -367,7 +367,7 @@ plugin_infolist_get_integer (struct t_plugin_infolist *list, char *var)
*/
char *
-plugin_infolist_get_string (struct t_plugin_infolist *list, char *var)
+plugin_infolist_get_string (struct t_plugin_infolist *list, const char *var)
{
struct t_plugin_infolist_var *ptr_var;
@@ -394,7 +394,7 @@ plugin_infolist_get_string (struct t_plugin_infolist *list, char *var)
*/
void *
-plugin_infolist_get_pointer (struct t_plugin_infolist *list, char *var)
+plugin_infolist_get_pointer (struct t_plugin_infolist *list, const char *var)
{
struct t_plugin_infolist_var *ptr_var;
@@ -421,7 +421,7 @@ plugin_infolist_get_pointer (struct t_plugin_infolist *list, char *var)
*/
time_t
-plugin_infolist_get_time (struct t_plugin_infolist *list, char *var)
+plugin_infolist_get_time (struct t_plugin_infolist *list, const char *var)
{
struct t_plugin_infolist_var *ptr_var;