about summary refs log tree commit diff stats
path: root/tests/unittests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittests')
-rw-r--r--tests/unittests/xmpp/stub_xmpp.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/unittests/xmpp/stub_xmpp.c b/tests/unittests/xmpp/stub_xmpp.c
index 7ba1d428..2fa619af 100644
--- a/tests/unittests/xmpp/stub_xmpp.c
+++ b/tests/unittests/xmpp/stub_xmpp.c
@@ -116,11 +116,16 @@ char* message_send_chat_pgp(const char * const barejid, const char * const msg,
     return NULL;
 }
 
-void message_send_private(const char * const fulljid, const char * const msg, const char *const oob_url) {}
+char* message_send_private(const char *const fulljid, const char *const msg, const char *const oob_url)
+{
+    return NULL;
+}
+
 char* message_send_groupchat(const char *const roomjid, const char *const msg, const char *const oob_url, const char *const replace_id)
 {
     return NULL;
 }
+
 void message_send_groupchat_subject(const char * const roomjid, const char * const subject) {}
 
 void message_send_inactive(const char * const barejid) {}