diff --git a/tests/unittests/config/stub_accounts.c b/tests/unittests/config/stub_accounts.c index 3451c0c3..a3fcacc7 100644 --- a/tests/unittests/config/stub_accounts.c +++ b/tests/unittests/config/stub_accounts.c @@ -22,7 +22,7 @@ accounts_find_all(const char* const prefix, gboolean previous, void* context) } char* -accounts_find_enabled(char* prefix, void* context) +accounts_find_enabled(const char* const prefix, gboolean previous, void* context) { return NULL; } @@ -37,7 +37,7 @@ accounts_reset_enabled_search(void) } void -accounts_add(const char* jid, const char* altdomain, const int port) +accounts_add(const char* jid, const char* altdomain, const int port, const char* const tls_policy, const char* const auth_policy) { check_expected(jid); check_expected(altdomain); diff --git a/tests/unittests/tools/stub_http_upload.c b/tests/unittests/tools/stub_http_upload.c index 1b79e02d..49320f85 100644 --- a/tests/unittests/tools/stub_http_upload.c +++ b/tests/unittests/tools/stub_http_upload.c @@ -33,7 +33,7 @@ file_mime_type(const char* const file_name) } off_t -file_size(const char* const file_name) +file_size(int filedes) { return 0; } diff --git a/tests/unittests/xmpp/stub_avatar.c b/tests/unittests/xmpp/stub_avatar.c index 768a3aab..8390077e 100644 --- a/tests/unittests/xmpp/stub_avatar.c +++ b/tests/unittests/xmpp/stub_avatar.c @@ -3,8 +3,9 @@ #include void avatar_pep_subscribe(void){}; + gboolean -avatar_get_by_nick(const char* nick) +avatar_get_by_nick(const char* nick, gboolean open) { return TRUE; }