summaryrefslogtreecommitdiff
path: root/src/core/wee-infolist.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-11-15 22:35:12 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-11-15 22:35:12 +0100
commit8724fc18afa1d2702eeed9aa6e7d825d25cbda98 (patch)
tree735f8d09799db47ff387129bb8613e940bb4fbf7 /src/core/wee-infolist.c
parente1d639d7ebbea6cf1c28e6d3cba284f5a3562dac (diff)
downloadweechat-8724fc18afa1d2702eeed9aa6e7d825d25cbda98.zip
Use of const for some functions returning "char *"
Diffstat (limited to 'src/core/wee-infolist.c')
-rw-r--r--src/core/wee-infolist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/wee-infolist.c b/src/core/wee-infolist.c
index 07c59bcaf..e49a87d9a 100644
--- a/src/core/wee-infolist.c
+++ b/src/core/wee-infolist.c
@@ -331,7 +331,7 @@ infolist_reset_item_cursor (struct t_infolist *infolist)
* infolist_fields: get list of fields for current infolist item
*/
-char *
+const char *
infolist_fields (struct t_infolist *infolist)
{
struct t_infolist_var *ptr_var;
@@ -417,7 +417,7 @@ infolist_integer (struct t_infolist *infolist, const char *var)
* infolist_string: get a string variable value in current list item
*/
-char *
+const char *
infolist_string (struct t_infolist *infolist, const char *var)
{
struct t_infolist_var *ptr_var;