about summary refs log tree commit diff stats
path: root/tests/xmpp/stub_xmpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/xmpp/stub_xmpp.c')
-rw-r--r--tests/xmpp/stub_xmpp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/xmpp/stub_xmpp.c b/tests/xmpp/stub_xmpp.c
index cc5ad5fc..281857f0 100644
--- a/tests/xmpp/stub_xmpp.c
+++ b/tests/xmpp/stub_xmpp.c
@@ -91,7 +91,7 @@ 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)
 {
     return  NULL;
 }
@@ -189,7 +189,7 @@ const GList * bookmark_get_list(void)
     return (GList *)mock();
 }
 
-char * bookmark_find(char *search_str)
+char * bookmark_find(const char * const search_str)
 {
     return NULL;
 }