mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Fix outdated types in tests
Fix https://github.com/profanity-im/profanity/issues/1992
This commit is contained in:
parent
beeddda568
commit
3441aa3279
@ -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);
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -3,8 +3,9 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
void avatar_pep_subscribe(void){};
|
||||
|
||||
gboolean
|
||||
avatar_get_by_nick(const char* nick)
|
||||
avatar_get_by_nick(const char* nick, gboolean open)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user