From 8fd244cc61c74522b93b59e75594902a01f936b5 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 15 Sep 2008 12:27:29 +0200 Subject: 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. --- src/screen_utils.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'src/screen_utils.c') diff --git a/src/screen_utils.c b/src/screen_utils.c index 80a1b3f00..d75116fb4 100644 --- a/src/screen_utils.c +++ b/src/screen_utils.c @@ -18,22 +18,17 @@ * */ -#include -#include -#include -#include -#include - +#include "screen_utils.h" #include "config.h" #include "ncmpc.h" -#include "mpdclient.h" #include "support.h" -#include "command.h" #include "options.h" -#include "list_window.h" #include "colors.h" #include "wreadln.h" -#include "screen.h" + +#include +#include +#include #define FIND_PROMPT _("Find: ") #define RFIND_PROMPT _("Find backward: ") -- cgit v1.2.3