Code

include cleanup
authorMax Kellermann <max@duempel.org>
Tue, 16 Sep 2008 16:52:55 +0000 (18:52 +0200)
committerMax Kellermann <max@duempel.org>
Tue, 16 Sep 2008 16:52:55 +0000 (18:52 +0200)
Include only headers which are really used.

src/src_lyrics.c
src/src_lyrics.h

index 6ac6cc3c5a102b710848543b81640820d5d8ae61..21e6437be8a3ccd1af77b974dca4252e86e3c24b 100644 (file)
  *
  */
 
+#include "src_lyrics.h"
+
+#include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
 
-#include "../config.h"
-#include "src_lyrics.h"
-
 #define PLUGIN_DIR_USER "/.ncmpc/plugins"
 
 int get_text_line(formed_text *text, unsigned num, char *dest, size_t len)
index 9e13cd411d2d15dee7d50346c8862881bb5abc55..98c695dacb6358d7d5b1790a687a32072171c01f 100644 (file)
@@ -1,10 +1,10 @@
 #ifndef SOURCE_LYRICS
 #define SOURCE_LYRICS
 
-#include "list_window.h"
+#include "config.h"
 #include "mpdclient.h"
 
-#include <stdlib.h>
+#include <sys/types.h>
 #include <glib.h>
 #include <gmodule.h>