diff options
Diffstat (limited to 'toxcore/DHT.h')
-rw-r--r-- | toxcore/DHT.h | 8 |
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. */ | ||
59 | typedef struct { | ||
60 | Client_data c1; | ||
61 | Client_data c2; | ||
62 | } ClientPair; | ||
63 | |||
64 | /*----------------------------------------------------------------------------------*/ | 58 | /*----------------------------------------------------------------------------------*/ |
65 | 59 | ||
66 | typedef struct { | 60 | typedef 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. */ | ||
110 | declare_quick_sort(ClientPair); | ||
111 | 103 | ||
112 | Client_data *DHT_get_close_list(DHT *dht); | 104 | Client_data *DHT_get_close_list(DHT *dht); |
113 | 105 | ||