mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 03:25:41 +02:00
tests: move include of tests/tests.h outside of extern "C"
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user