summaryrefslogtreecommitdiff
path: root/toxcore/util.c
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2016-09-11 15:47:51 +0100
committeriphydf <iphydf@users.noreply.github.com>2016-09-13 00:32:02 +0100
commit0aa2840164fc782f150cd45f8668ca623e6002cf (patch)
tree68d4b762c6233946fc3e73af546e2a5a5f6cdb16 /toxcore/util.c
parent2b2dc07f6f7fe28a8e558125d977d2fa9cef3881 (diff)
Group #include directives in 3-4 groups.
1. Current module (if C file). 2. Headers from current library. 3. Headers from other library (e.g. toxcore includes in toxav). 4. System headers.
Diffstat (limited to 'toxcore/util.c')
-rw-r--r--toxcore/util.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/toxcore/util.c b/toxcore/util.c
index 92ad4510..40bf2849 100644
--- a/toxcore/util.c
+++ b/toxcore/util.c
@@ -26,12 +26,11 @@
26#include "config.h" 26#include "config.h"
27#endif 27#endif
28 28
29#include <time.h> 29#include "util.h"
30 30
31/* for crypto_box_PUBLICKEYBYTES */ 31#include "crypto_core.h" /* for crypto_box_PUBLICKEYBYTES */
32#include "crypto_core.h"
33 32
34#include "util.h" 33#include <time.h>
35 34
36 35
37/* don't call into system billions of times for no reason */ 36/* don't call into system billions of times for no reason */