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/easy_download.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/easy_download.c') diff --git a/src/easy_download.c b/src/easy_download.c index 83616cf87..d57202580 100644 --- a/src/easy_download.c +++ b/src/easy_download.c @@ -14,19 +14,18 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - -# + +#include "ncmpc.h" + +#ifdef ENABLE_LYRICS_SCREEN +#include "easy_download.h" #include #include #include #include -#include "ncmpc.h" - -#ifdef ENABLE_LYRICS_SCREEN #include -#include "easy_download.h" static size_t write_data(void *buffer, size_t size, size_t nmemb, easy_download_struct *dld) -- cgit v1.2.3