summaryrefslogtreecommitdiff
path: root/toxcore/tox.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r--toxcore/tox.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c
index f5c6c8ba..3eb80d22 100644
--- a/toxcore/tox.c
+++ b/toxcore/tox.c
@@ -395,14 +395,10 @@ int tox_isconnected(void *tox)
395 * return allocated instance of tox on success. 395 * return allocated instance of tox on success.
396 * return 0 if there are problems. 396 * return 0 if there are problems.
397 */ 397 */
398void *tox_new_ex(uint8_t ipv6enabled) 398void *tox_new(uint8_t ipv6enabled)
399{ 399{
400 return initMessenger(ipv6enabled); 400 return initMessenger(ipv6enabled);
401} 401}
402void *tox_new(void)
403{
404 return tox_new_ex(0);
405}
406 402
407/* Run this before closing shop. 403/* Run this before closing shop.
408 * Free all datastructures. 404 * Free all datastructures.