summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0795486)
raw | patch | inline | side by side (parent: 0795486)
author | Max Kellermann <max@duempel.org> | |
Mon, 15 Sep 2008 11:27:32 +0000 (13:27 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Mon, 15 Sep 2008 11:27:32 +0000 (13:27 +0200) |
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.
src_lyrics.h as static, but they were only actually used in
screen_lyrics.c. Move both there.
src/screen_lyrics.c | patch | blob | history | |
src/src_lyrics.h | patch | blob | history |
diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c
index 59329694847d4fb00ef10c67441057e260fc361b..eb7035a0bba2061b01fef93ef05334345ded718f 100644 (file)
--- a/src/screen_lyrics.c
+++ b/src/screen_lyrics.c
#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 b972e7af5f9a22180ea7da86626f45c2a6f70f15..9e13cd411d2d15dee7d50346c8862881bb5abc55 100644 (file)
--- a/src/src_lyrics.h
+++ b/src/src_lyrics.h
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;