mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 13:26:38 +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"
|
||||
{
|
||||
#include <stdio.h>
|
||||
@@ -54,8 +56,6 @@ extern char *irc_protocol_cap_to_enable (const char *capabilities,
|
||||
int sasl_requested);
|
||||
}
|
||||
|
||||
#include "tests/tests.h"
|
||||
|
||||
#define IRC_FAKE_SERVER "fake"
|
||||
#define IRC_MSG_005 "PREFIX=(ohv)@%+ MAXLIST=bqeI:100 MODES=4 " \
|
||||
"NETWORK=StaticBox STATUSMSG=@+ CALLERID=g " \
|
||||
|
||||
Reference in New Issue
Block a user