diff options
author | Max Kellermann <max@duempel.org> | 2008-09-15 12:27:29 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-15 12:27:29 +0200 |
commit | 8fd244cc61c74522b93b59e75594902a01f936b5 (patch) | |
tree | bbf97cbda04f0ec9b0dd927ab941a541dc1f8fd7 /src/mpdclient.c | |
parent | 2546fc394347548583c7bdcc15c23c7b17df6ea4 (diff) | |
download | mpd-8fd244cc61c74522b93b59e75594902a01f936b5.tar.gz mpd-8fd244cc61c74522b93b59e75594902a01f936b5.tar.xz mpd-8fd244cc61c74522b93b59e75594902a01f936b5.zip |
include cleanup
A header should include all headers which he needs. Move local
includes on top, and let foo.c include foo.h in the first line, to
automatically test its dependencies.
Diffstat (limited to 'src/mpdclient.c')
-rw-r--r-- | src/mpdclient.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/mpdclient.c b/src/mpdclient.c index 941c09114..ab7857356 100644 --- a/src/mpdclient.c +++ b/src/mpdclient.c @@ -18,20 +18,19 @@ * */ -#include <stdio.h> -#include <stdlib.h> -#include <unistd.h> -#include <time.h> -#include <string.h> -#include <glib.h> - +#include "mpdclient.h" +#include "screen_utils.h" #include "config.h" #include "ncmpc.h" #include "support.h" -#include "mpdclient.h" #include "options.h" #include "strfsong.h" +#include <stdlib.h> +#include <unistd.h> +#include <time.h> +#include <string.h> + #undef ENABLE_FANCY_PLAYLIST_MANAGMENT_CMD_ADD /* broken with song id's */ #define ENABLE_FANCY_PLAYLIST_MANAGMENT_CMD_DELETE #define ENABLE_FANCY_PLAYLIST_MANAGMENT_CMD_MOVE |