diff options
author | redwire <redwire@riseup.net> | 2013-08-30 22:08:15 -0230 |
---|---|---|
committer | redwire <redwire@riseup.net> | 2013-08-30 22:08:15 -0230 |
commit | ecddafd3832d145f2d7bdb84bb83ba385ff3cff0 (patch) | |
tree | 3767263413c28b3dd35d11d6a1508e79c5f4a09a /toxcore/DHT.h | |
parent | 4247eec9698dce1bf82d17e4713a54bad080baca (diff) |
Made clang happy by taking definitions for the macro out of functions and adding declarations
Diffstat (limited to 'toxcore/DHT.h')
-rw-r--r-- | toxcore/DHT.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/toxcore/DHT.h b/toxcore/DHT.h index d0afda35..88073779 100644 --- a/toxcore/DHT.h +++ b/toxcore/DHT.h | |||
@@ -106,6 +106,9 @@ typedef struct { | |||
106 | } DHT; | 106 | } DHT; |
107 | /*----------------------------------------------------------------------------------*/ | 107 | /*----------------------------------------------------------------------------------*/ |
108 | 108 | ||
109 | /* Create the declaration for a quick sort for ClientPair structures. */ | ||
110 | declare_quick_sort(ClientPair); | ||
111 | |||
109 | Client_data *DHT_get_close_list(DHT *dht); | 112 | Client_data *DHT_get_close_list(DHT *dht); |
110 | 113 | ||
111 | /* Add a new friend to the friends list. | 114 | /* Add a new friend to the friends list. |