From bc825827c6bcbeda44d9e3f5bc661e8f841a0d8b Mon Sep 17 00:00:00 2001 From: "zugz (tox)" Date: Sun, 19 Aug 2018 19:51:17 +0200 Subject: [PATCH] stop including run_auto_tests.h in conference test --- auto_tests/conference_test.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/auto_tests/conference_test.c b/auto_tests/conference_test.c index 17cb9802465..6e3d5a7e4d5 100644 --- a/auto_tests/conference_test.c +++ b/auto_tests/conference_test.c @@ -31,7 +31,14 @@ typedef struct State { bool invited_next; } State; -#include "run_auto_test.h" +static bool iterate_all(uint32_t tox_count, Tox **toxes, State *state) +{ + for (uint32_t i = 0; i < tox_count; i++) { + tox_iterate(toxes[i], &state[i]); + } + + return true; +} static void handle_self_connection_status( Tox *tox, TOX_CONNECTION connection_status, void *user_data)