From 5d809df6ede402920543fd7041707df6439c7955 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 6 Mar 2022 21:35:09 +0100 Subject: tests: move include of tests/tests.h outside of extern "C" --- tests/scripts/test-scripts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/scripts/test-scripts.cpp') diff --git a/tests/scripts/test-scripts.cpp b/tests/scripts/test-scripts.cpp index 1dfc38f71..2d8ac78fa 100644 --- a/tests/scripts/test-scripts.cpp +++ b/tests/scripts/test-scripts.cpp @@ -21,6 +21,8 @@ #include "CppUTest/TestHarness.h" +#include "tests/tests.h" + extern "C" { #ifndef HAVE_CONFIG_H @@ -37,8 +39,6 @@ extern "C" #include "src/plugins/plugin.h" } -#include "tests/tests.h" - struct t_hook *api_hook_print = NULL; int api_tests_ok = 0; int api_tests_errors = 0; -- cgit v1.2.3