diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-11-15 22:35:12 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-11-15 22:35:12 +0100 |
commit | 8724fc18afa1d2702eeed9aa6e7d825d25cbda98 (patch) | |
tree | 735f8d09799db47ff387129bb8613e940bb4fbf7 /src/core/wee-infolist.h | |
parent | e1d639d7ebbea6cf1c28e6d3cba284f5a3562dac (diff) | |
download | weechat-8724fc18afa1d2702eeed9aa6e7d825d25cbda98.zip |
Use of const for some functions returning "char *"
Diffstat (limited to 'src/core/wee-infolist.h')
-rw-r--r-- | src/core/wee-infolist.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/wee-infolist.h b/src/core/wee-infolist.h index 681d5e4f8..60e8ebe03 100644 --- a/src/core/wee-infolist.h +++ b/src/core/wee-infolist.h @@ -88,10 +88,10 @@ extern int infolist_valid (struct t_infolist *infolist); extern struct t_infolist_item *infolist_next (struct t_infolist *infolist); extern struct t_infolist_item *infolist_prev (struct t_infolist *infolist); extern void infolist_reset_item_cursor (struct t_infolist *infolist); -extern char *infolist_fields (struct t_infolist *infolist); +extern const char *infolist_fields (struct t_infolist *infolist); extern int infolist_integer (struct t_infolist *infolist, const char *var); -extern char *infolist_string (struct t_infolist *infolist, +extern const char *infolist_string (struct t_infolist *infolist, const char *var); extern void *infolist_pointer (struct t_infolist *infolist, const char *var); |