diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ui/stub_ui.c | 3 | ||||
-rw-r--r-- | tests/xmpp/stub_xmpp.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/tests/ui/stub_ui.c b/tests/ui/stub_ui.c index 2c7cebf6..51b82d42 100644 --- a/tests/ui/stub_ui.c +++ b/tests/ui/stub_ui.c @@ -328,9 +328,10 @@ char * ui_readline(void) return NULL; } +void ui_inp_history_append(char *inp) {} + void ui_input_clear(void) {} void ui_input_nonblocking(gboolean reset) {} -void ui_replace_input(char *input, const char * const new_input, int *size) {} void ui_invalid_command_usage(const char * const usage, void (*setting_func)(void)) {} 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; } |