diff options
author | Max Kellermann <max@duempel.org> | 2008-04-12 04:19:26 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-04-12 04:19:26 +0000 |
commit | c89b358c8acb50e7cb26a62017f231ef1c4c86b6 (patch) | |
tree | 68f2d28d307e11d33ca459427b9237cf152a7b3d /src/command.h | |
parent | 159fb3803b5b63a1b0711043e6bd7c09103306ae (diff) | |
download | mpd-c89b358c8acb50e7cb26a62017f231ef1c4c86b6.tar.gz mpd-c89b358c8acb50e7cb26a62017f231ef1c4c86b6.tar.xz mpd-c89b358c8acb50e7cb26a62017f231ef1c4c86b6.zip |
clean up CPP includes
Try to only include headers which are really needed. We should
particularly check all "headers including other headers". The
long-term goal is to have a manageable, small API for plugins
(decoders, output) without so many mpd internals cluttering the
namespace.
git-svn-id: https://svn.musicpd.org/mpd/trunk@7319 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/command.h')
-rw-r--r-- | src/command.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/command.h b/src/command.h index 71516b122..4d38b0f5f 100644 --- a/src/command.h +++ b/src/command.h @@ -19,19 +19,15 @@ #ifndef COMMAND_H #define COMMAND_H -#include "../config.h" - -#include "list.h" -#include "myfprintf.h" -#include "log.h" -#include "ack.h" -#include "sllist.h" +#include "gcc.h" #include "os_compat.h" #define COMMAND_RETURN_KILL 10 #define COMMAND_RETURN_CLOSE 20 #define COMMAND_MASTER_READY 30 +struct strnode; + int processListOfCommands(int fd, int *permission, int *expired, int listOK, struct strnode *list); |