aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils.h b/src/utils.h
index a7f81bf1a..fe913afce 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -4,8 +4,8 @@
/* functions for lists containing strings */
GList *string_list_free(GList *string_list);
-GList *string_list_find(GList *string_list, gchar *str);
-GList *string_list_remove(GList *string_list, gchar *str);
+GList *string_list_find(GList *string_list, const gchar *str);
+GList *string_list_remove(GList *string_list, const gchar *str);
/* create a string list from path - used for completion */
#define GCMP_TYPE_DIR (0x01 << 0)
@@ -15,7 +15,7 @@ GList *string_list_remove(GList *string_list, gchar *str);
#define GCMP_TYPE_RPLAYLIST (GCMP_TYPE_DIR | GCMP_TYPE_PLAYLIST)
GList *gcmp_list_from_path(mpdclient_t *c,
- gchar *path,
+ const gchar *path,
GList *list,
gint types);