summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/api_avatars.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/api_avatars.cpp')
-rw-r--r--protocols/Tox/src/api_avatars.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/protocols/Tox/src/api_avatars.cpp b/protocols/Tox/src/api_avatars.cpp
index 5b5aa0c487..e15773b94f 100644
--- a/protocols/Tox/src/api_avatars.cpp
+++ b/protocols/Tox/src/api_avatars.cpp
@@ -27,11 +27,6 @@ int tox_get_self_avatar(const Tox *tox, uint8_t *format, uint8_t *buf, uint32_t
return CreateFunction<int(*)(const Tox*, uint8_t*, uint8_t*, uint32_t*, uint32_t, uint8_t*)>(__FUNCTION__)(tox, format, buf, length, maxlen, hash);
}
-int tox_hash(uint8_t *hash, const uint8_t *data, const uint32_t datalen)
-{
- return CreateFunction<int(*)(uint8_t*, const uint8_t*, const uint32_t)>(__FUNCTION__)(hash, data, datalen);
-}
-
int tox_request_avatar_info(const Tox *tox, const int32_t friendnumber)
{
return CreateFunction<int(*)(const Tox*, const int32_t)>(__FUNCTION__)(tox, friendnumber);