summaryrefslogtreecommitdiff
path: root/toxcore/Messenger.c
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-08-04 11:44:14 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-08-04 11:44:14 +0000
commit788fa224a56805cd9b6cab2f1c5c0fd3a90249b1 (patch)
tree6d9b2d0254651c6955312db47ea82168b7648046 /toxcore/Messenger.c
parent064ffe58756f1adbd1917689ea79db95756d535e (diff)
Remove unused `m_callback_log` function.
The logger callback can only be set once at the beginning, because it requires user data coming from `Tox_Options`.
Diffstat (limited to 'toxcore/Messenger.c')
-rw-r--r--toxcore/Messenger.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c
index 7ff2c2b3..ac25d669 100644
--- a/toxcore/Messenger.c
+++ b/toxcore/Messenger.c
@@ -842,11 +842,6 @@ static void set_friend_typing(const Messenger *m, int32_t friendnumber, uint8_t
842 m->friendlist[friendnumber].is_typing = is_typing; 842 m->friendlist[friendnumber].is_typing = is_typing;
843} 843}
844 844
845void m_callback_log(Messenger *m, logger_cb *function, void *context, void *userdata)
846{
847 logger_callback_log(m->log, function, context, userdata);
848}
849
850/* Set the function that will be executed when a friend request is received. */ 845/* Set the function that will be executed when a friend request is received. */
851void m_callback_friendrequest(Messenger *m, m_friend_request_cb *function) 846void m_callback_friendrequest(Messenger *m, m_friend_request_cb *function)
852{ 847{