aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_lyrics.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-15 12:27:29 +0200
committerMax Kellermann <max@duempel.org>2008-09-15 12:27:29 +0200
commit76a8fab4adc293982f355609b89dde88d5f355e0 (patch)
treeb8fe58ce54cade4122402c57328a9691064b2590 /src/screen_lyrics.c
parent0b3bcb6c7f1bb4a633896b8a9936e498570ef8e1 (diff)
downloadmpd-76a8fab4adc293982f355609b89dde88d5f355e0.tar.gz
mpd-76a8fab4adc293982f355609b89dde88d5f355e0.tar.xz
mpd-76a8fab4adc293982f355609b89dde88d5f355e0.zip
fix function prototypes
Add missing prototypes, and fix wrong prototypes. Convert lots of functions to "static" when they are only used within the current source file.
Diffstat (limited to '')
-rw-r--r--src/screen_lyrics.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c
index 4417d1385..793eae7ee 100644
--- a/src/screen_lyrics.c
+++ b/src/screen_lyrics.c
@@ -46,7 +46,7 @@ int src_selection;
static void lyrics_paint(screen_t *screen, mpdclient_t *c);
-FILE *create_lyr_file(char *artist, char *title)
+static FILE *create_lyr_file(char *artist, char *title)
{
char path[1024];
@@ -65,7 +65,7 @@ FILE *create_lyr_file(char *artist, char *title)
}
-int store_lyr_hd()
+static int store_lyr_hd(void)
{
char artist[512];
char title[512];
@@ -96,13 +96,13 @@ int store_lyr_hd()
}
-void check_repaint()
+static void check_repaint(void)
{
if(screen_get_id("lyrics") == get_cur_mode_id())lyrics_paint(NULL, NULL);
}
-gpointer get_lyr(void *c)
+static gpointer get_lyr(void *c)
{
mpd_Status *status = ((retrieval_spec*)c)->client->status;
mpd_Song *cur = ((retrieval_spec*)c)->client->song;