From e35d70af1822095b7b273f1cec16878645b90078 Mon Sep 17 00:00:00 2001 From: iphydf Date: Sat, 12 Jan 2019 21:28:21 +0000 Subject: Use net_pack/unpack instead of host_to_net. The latter is doing pretty much the same thing but in a confusing way (it doesn't change the type of the variable, but does change the semantics). --- toxcore/util.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'toxcore/util.h') diff --git a/toxcore/util.h b/toxcore/util.h index 79f5deb5..2a0503e1 100644 --- a/toxcore/util.h +++ b/toxcore/util.h @@ -40,9 +40,6 @@ extern "C" { bool id_equal(const uint8_t *dest, const uint8_t *src); uint32_t id_copy(uint8_t *dest, const uint8_t *src); /* return value is CLIENT_ID_SIZE */ -void host_to_net(uint8_t *num, uint16_t numbytes); -void net_to_host(uint8_t *num, uint16_t numbytes); - /* Returns -1 if failed or 0 if success */ int create_recursive_mutex(pthread_mutex_t *mutex); -- cgit v1.2.3