summaryrefslogtreecommitdiff
path: root/toxcore/DHT.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-08-30 21:13:40 -0400
committerirungentoo <irungentoo@gmail.com>2013-08-30 21:13:40 -0400
commita93980e1443972c3284db21e314e6a58bcdacdb0 (patch)
tree1b72f825316fe23952a6886627fe30fc17007548 /toxcore/DHT.h
parentecddafd3832d145f2d7bdb84bb83ba385ff3cff0 (diff)
Cleaned up pull request.
Diffstat (limited to 'toxcore/DHT.h')
-rw-r--r--toxcore/DHT.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/toxcore/DHT.h b/toxcore/DHT.h
index 88073779..23a664bb 100644
--- a/toxcore/DHT.h
+++ b/toxcore/DHT.h
@@ -55,12 +55,6 @@ typedef struct {
55 uint64_t ret_timestamp; 55 uint64_t ret_timestamp;
56} Client_data; 56} Client_data;
57 57
58/* Used in the comparison function for sorting lists of Client_data. */
59typedef struct {
60 Client_data c1;
61 Client_data c2;
62} ClientPair;
63
64/*----------------------------------------------------------------------------------*/ 58/*----------------------------------------------------------------------------------*/
65 59
66typedef struct { 60typedef struct {
@@ -106,8 +100,6 @@ typedef struct {
106} DHT; 100} DHT;
107/*----------------------------------------------------------------------------------*/ 101/*----------------------------------------------------------------------------------*/
108 102
109/* Create the declaration for a quick sort for ClientPair structures. */
110declare_quick_sort(ClientPair);
111 103
112Client_data *DHT_get_close_list(DHT *dht); 104Client_data *DHT_get_close_list(DHT *dht);
113 105