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.c | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'src/screen.c') diff --git a/src/screen.c b/src/screen.c index 4624974c1..f9fa9b1fb 100644 --- a/src/screen.c +++ b/src/screen.c @@ -18,15 +18,8 @@ * */ -#include -#include -#include -#include -#include -#include -#include -#include - +#include "screen.h" +#include "screen_utils.h" #include "config.h" #include "ncmpc.h" #include "support.h" @@ -37,9 +30,13 @@ #include "colors.h" #include "strfsong.h" #include "wreadln.h" -#include "screen.h" -#include "screen_utils.h" +#include +#include +#include +#include +#include +#include #define SCREEN_PLAYLIST_ID 0 #define SCREEN_BROWSE_ID 1 -- cgit v1.2.3