aboutsummaryrefslogtreecommitdiffstats
path: root/src/easy_download.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-15 12:27:29 +0200
committerMax Kellermann <max@duempel.org>2008-09-15 12:27:29 +0200
commit8fd244cc61c74522b93b59e75594902a01f936b5 (patch)
treebbf97cbda04f0ec9b0dd927ab941a541dc1f8fd7 /src/easy_download.c
parent2546fc394347548583c7bdcc15c23c7b17df6ea4 (diff)
downloadmpd-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 '')
-rw-r--r--src/easy_download.c11
1 files changed, 5 insertions, 6 deletions
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 <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <glib.h>
-#include "ncmpc.h"
-
-#ifdef ENABLE_LYRICS_SCREEN
#include <curl/curl.h>
-#include "easy_download.h"
static size_t write_data(void *buffer, size_t size,
size_t nmemb, easy_download_struct *dld)