diff options
author | iphydf <iphydf@users.noreply.github.com> | 2016-09-11 15:47:51 +0100 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2016-09-13 00:32:02 +0100 |
commit | 0aa2840164fc782f150cd45f8668ca623e6002cf (patch) | |
tree | 68d4b762c6233946fc3e73af546e2a5a5f6cdb16 /toxcore/tox_group.c | |
parent | 2b2dc07f6f7fe28a8e558125d977d2fa9cef3881 (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/tox_group.c')
-rw-r--r-- | toxcore/tox_group.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/toxcore/tox_group.c b/toxcore/tox_group.c index 2228ed88..62c84b22 100644 --- a/toxcore/tox_group.c +++ b/toxcore/tox_group.c | |||
@@ -25,13 +25,12 @@ | |||
25 | #include "config.h" | 25 | #include "config.h" |
26 | #endif | 26 | #endif |
27 | 27 | ||
28 | #include "Messenger.h" | ||
29 | #include "group.h" | ||
30 | |||
31 | #define TOX_DEFINED | 28 | #define TOX_DEFINED |
32 | typedef struct Messenger Tox; | 29 | typedef struct Messenger Tox; |
30 | #include "tox_group.h" | ||
33 | 31 | ||
34 | #include "tox.h" | 32 | #include "Messenger.h" |
33 | #include "group.h" | ||
35 | 34 | ||
36 | /**********GROUP CHAT FUNCTIONS: WARNING Group chats will be rewritten so this might change ************/ | 35 | /**********GROUP CHAT FUNCTIONS: WARNING Group chats will be rewritten so this might change ************/ |
37 | 36 | ||