diff options
author | Max Kellermann <max@duempel.org> | 2008-09-15 12:27:29 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-15 12:27:29 +0200 |
commit | 8fd244cc61c74522b93b59e75594902a01f936b5 (patch) | |
tree | bbf97cbda04f0ec9b0dd927ab941a541dc1f8fd7 /src/screen_lyrics.c | |
parent | 2546fc394347548583c7bdcc15c23c7b17df6ea4 (diff) | |
download | mpd-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 'src/screen_lyrics.c')
-rw-r--r-- | src/screen_lyrics.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c index 793eae7ee..2dd5e12b7 100644 --- a/src/screen_lyrics.c +++ b/src/screen_lyrics.c @@ -19,16 +19,6 @@ * */ -#define _GNU_SOURCE -#include <stdlib.h> -#include <string.h> -#include <glib.h> -#include <ncurses.h> -#include <expat.h> -#include <unistd.h> -#include <glib/gstdio.h> -#include <stdio.h> - #include "config.h" #ifndef DISABLE_LYRICS_SCREEN #include <sys/stat.h> @@ -42,6 +32,16 @@ #include "strfsong.h" #include "src_lyrics.h" +#define _GNU_SOURCE +#include <stdlib.h> +#include <string.h> +#include <glib.h> +#include <ncurses.h> +#include <expat.h> +#include <unistd.h> +#include <glib/gstdio.h> +#include <stdio.h> + int src_selection; static void lyrics_paint(screen_t *screen, mpdclient_t *c); |