aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_lyrics.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-15 13:27:32 +0200
committerMax Kellermann <max@duempel.org>2008-09-15 13:27:32 +0200
commit6dc4fcca76fc4f3c232acb6d6bfcace5b17e466c (patch)
treef48c491e759ca6ff28cee2f7d030e5731d73252f /src/screen_lyrics.c
parent079548617d3c321dd4051709c3a31717fd80238d (diff)
downloadmpd-6dc4fcca76fc4f3c232acb6d6bfcace5b17e466c.tar.gz
mpd-6dc4fcca76fc4f3c232acb6d6bfcace5b17e466c.tar.xz
mpd-6dc4fcca76fc4f3c232acb6d6bfcace5b17e466c.zip
lyrics: converted global variables to static
The variables "lyrics_text_rows" and "lw" were declared in src_lyrics.h as static, but they were only actually used in screen_lyrics.c. Move both there.
Diffstat (limited to '')
-rw-r--r--src/screen_lyrics.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c
index 593296948..eb7035a0b 100644
--- a/src/screen_lyrics.c
+++ b/src/screen_lyrics.c
@@ -43,7 +43,9 @@
#include <glib/gstdio.h>
#include <stdio.h>
-int src_selection;
+static list_window_t *lw = NULL;
+static int lyrics_text_rows = -1;
+static int src_selection;
static void lyrics_paint(screen_t *screen, mpdclient_t *c);