Code

screen_song: make the variable "current" static
authorMax Kellermann <max@duempel.org>
Fri, 5 Dec 2008 08:27:07 +0000 (09:27 +0100)
committerMax Kellermann <max@duempel.org>
Fri, 5 Dec 2008 08:27:07 +0000 (09:27 +0100)
The global variable "current" should not be exported, and should be
"static".

src/screen_song.c

index 4a8f7169f4a08ee4e3778e6e12e85a168d54f576..be8a7c02a7b377b624dac3bf034ffabb240fb588 100644 (file)
@@ -23,7 +23,7 @@
 
 static list_window_t *lw;
 
-struct {
+static struct {
        struct mpd_song *song;
        GPtrArray *lines;
 } current;