summaryrefslogtreecommitdiff
path: root/auto_tests/conference_two_test.c
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-07-16 22:46:02 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-07-21 20:44:26 +0000
commit7245ac11ef9be2420c8356c12acc79f93ea211bb (patch)
treee971c5c6e10c2310afe4b2cd80212feac9839f2a /auto_tests/conference_two_test.c
parent7c2b95ef5e4ccdae01bd104aa7400294c9ea391b (diff)
Avoid implementations in .h files or #including .c files.
Also, avoid the need for putting `_XOPEN_SOURCE` in every test file.
Diffstat (limited to 'auto_tests/conference_two_test.c')
-rw-r--r--auto_tests/conference_two_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/auto_tests/conference_two_test.c b/auto_tests/conference_two_test.c
index c3036165..c6c3aa03 100644
--- a/auto_tests/conference_two_test.c
+++ b/auto_tests/conference_two_test.c
@@ -2,14 +2,14 @@
2// 2//
3// This test triggers a different code path than if we only allocate a single 3// This test triggers a different code path than if we only allocate a single
4// conference. This is the simplest test possible that triggers it. 4// conference. This is the simplest test possible that triggers it.
5#ifndef _XOPEN_SOURCE 5
6#define _XOPEN_SOURCE 600 6#ifdef HAVE_CONFIG_H
7#include "config.h"
7#endif 8#endif
8 9
10#include "../testing/misc_tools.h"
9#include "../toxcore/tox.h" 11#include "../toxcore/tox.h"
10
11#include "check_compat.h" 12#include "check_compat.h"
12#include "helpers.h"
13 13
14int main(void) 14int main(void)
15{ 15{