diff options
author | Max Kellermann <max@duempel.org> | 2008-09-15 13:27:32 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-15 13:27:32 +0200 |
commit | 6dc4fcca76fc4f3c232acb6d6bfcace5b17e466c (patch) | |
tree | f48c491e759ca6ff28cee2f7d030e5731d73252f /src | |
parent | 079548617d3c321dd4051709c3a31717fd80238d (diff) | |
download | mpd-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 'src')
-rw-r--r-- | src/screen_lyrics.c | 4 | ||||
-rw-r--r-- | src/src_lyrics.h | 5 |
2 files changed, 3 insertions, 6 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); diff --git a/src/src_lyrics.h b/src/src_lyrics.h index b972e7af5..9e13cd411 100644 --- a/src/src_lyrics.h +++ b/src/src_lyrics.h @@ -24,11 +24,6 @@ typedef struct _retrieval_spec int way; } retrieval_spec; - - -static int lyrics_text_rows = -1; -static list_window_t *lw = NULL; - GTimer *dltime; short int lock; formed_text lyr_text; |