diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-03-06 21:35:09 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-03-10 21:12:46 +0100 |
commit | 5d809df6ede402920543fd7041707df6439c7955 (patch) | |
tree | 0750d70f52351b5a1264470d1e5627eb4e080968 /tests/scripts/test-scripts.cpp | |
parent | 74ba21a8c4b49c03f1b023886bd33d0e8c8b55e5 (diff) | |
download | weechat-5d809df6ede402920543fd7041707df6439c7955.zip |
tests: move include of tests/tests.h outside of extern "C"
Diffstat (limited to 'tests/scripts/test-scripts.cpp')
-rw-r--r-- | tests/scripts/test-scripts.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |