diff options
author | Max Kellermann <max@duempel.org> | 2012-09-25 11:56:37 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-09-25 11:56:37 +0200 |
commit | f38dfd9231c8bcea413523a4b0d954f0c1859a9e (patch) | |
tree | d85bbe15b034a7577353b78389af8ab2b6a7d11d | |
parent | 510c4a3ef1b5f8d5029fe73e2a43ed06edf6eea6 (diff) |
command: rename to AllCommands.cxx
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | src/AllCommands.cxx (renamed from src/command.c) | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index 6bc229449..02ea9a3b6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -235,7 +235,7 @@ src_mpd_SOURCES = \ src/protocol/argparser.c src/protocol/argparser.h \ src/protocol/result.c src/protocol/result.h \ src/CommandError.cxx src/CommandError.h \ - src/command.c \ + src/AllCommands.cxx \ src/QueueCommands.cxx src/QueueCommands.hxx \ src/PlayerCommands.cxx src/PlayerCommands.hxx \ src/PlaylistCommands.cxx src/PlaylistCommands.hxx \ diff --git a/src/command.c b/src/AllCommands.cxx index 26a918141..762ae73d7 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> |