diff options
author | Simon McVittie <smcv@collabora.com> | 2018-03-01 18:15:52 +0000 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2018-03-01 18:15:59 +0000 |
commit | 2154504764f249e2dd16a8f7ebf47238fae0976b (patch) | |
tree | 37e5de9f70bac8095873e147ee942e11379a9d54 | |
parent | eebe2476c37f7ecfaae2a9af2411c7121e856397 (diff) |
Avoid -Wunused-function for iterate_both_main_loops() without containers
Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r-- | test/containers.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/containers.c b/test/containers.c index 3c5c6359..acac82a4 100644 --- a/test/containers.c +++ b/test/containers.c @@ -104,6 +104,7 @@ name_gone_set_boolean_cb (GDBusConnection *conn, } #endif +#ifdef HAVE_CONTAINERS_TEST static void iterate_both_main_loops (TestMainContext *ctx) { @@ -114,6 +115,7 @@ iterate_both_main_loops (TestMainContext *ctx) test_main_context_iterate (ctx, FALSE); g_main_context_iteration (NULL, FALSE); } +#endif static DBusHandlerResult observe_shouting_cb (DBusConnection *observer, |