aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-09-25 11:56:37 +0200
committerMax Kellermann <max@duempel.org>2012-09-25 11:56:37 +0200
commitf38dfd9231c8bcea413523a4b0d954f0c1859a9e (patch)
treed85bbe15b034a7577353b78389af8ab2b6a7d11d /src
parent510c4a3ef1b5f8d5029fe73e2a43ed06edf6eea6 (diff)
command: rename to AllCommands.cxx
Diffstat (limited to 'src')
-rw-r--r--src/AllCommands.cxx (renamed from src/command.c)8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/command.c b/src/AllCommands.cxx
index 26a91814..762ae73d 100644
--- a/src/command.c
+++ b/src/AllCommands.cxx
@@ -28,16 +28,18 @@
#include "MessageCommands.hxx"
#include "OtherCommands.hxx"
#include "CommandError.h"
-#include "protocol/argparser.h"
-#include "protocol/result.h"
#include "permission.h"
-#include "tokenizer.h"
#include "tag.h"
+
+extern "C" {
+#include "protocol/result.h"
+#include "tokenizer.h"
#include "client.h"
#ifdef ENABLE_SQLITE
#include "sticker.h"
#endif
+}
#include <assert.h>
#include <string.h>