diff options
Diffstat (limited to 'src/xmpp')
-rw-r--r-- | src/xmpp/bookmark.c | 2 | ||||
-rw-r--r-- | src/xmpp/presence.c | 2 | ||||
-rw-r--r-- | src/xmpp/xmpp.h | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/xmpp/bookmark.c b/src/xmpp/bookmark.c index ddc6e300..94adabea 100644 --- a/src/xmpp/bookmark.c +++ b/src/xmpp/bookmark.c @@ -220,7 +220,7 @@ bookmark_get_list(void) } char * -bookmark_find(char *search_str) +bookmark_find(const char * const search_str) { return autocomplete_complete(bookmark_ac, search_str, TRUE); } diff --git a/src/xmpp/presence.c b/src/xmpp/presence.c index 1b3e7fc7..65384a0d 100644 --- a/src/xmpp/presence.c +++ b/src/xmpp/presence.c @@ -158,7 +158,7 @@ presence_clear_sub_requests(void) } char * -presence_sub_request_find(char * search_str) +presence_sub_request_find(const char * const search_str) { return autocomplete_complete(sub_requests_ac, search_str, TRUE); } diff --git a/src/xmpp/xmpp.h b/src/xmpp/xmpp.h index 161eebdf..a004a4bf 100644 --- a/src/xmpp/xmpp.h +++ b/src/xmpp/xmpp.h @@ -163,7 +163,7 @@ void presence_subscription(const char * const jid, const jabber_subscr_t action) GSList* presence_get_subscription_requests(void); gint presence_sub_request_count(void); void presence_reset_sub_request_search(void); -char * presence_sub_request_find(char * search_str); +char * presence_sub_request_find(const char * const search_str); void presence_join_room(char *room, char *nick, char * passwd); void presence_change_room_nick(const char * const room, const char * const nick); void presence_leave_chat_room(const char * const room_jid); @@ -208,7 +208,7 @@ gboolean bookmark_update(const char *jid, const char *nick, const char *password gboolean bookmark_remove(const char *jid); gboolean bookmark_join(const char *jid); const GList * bookmark_get_list(void); -char * bookmark_find(char *search_str); +char * bookmark_find(const char * const search_str); void bookmark_autocomplete_reset(void); void roster_send_name_change(const char * const barejid, const char * const new_name, GSList *groups); |