From 0b3bcb6c7f1bb4a633896b8a9936e498570ef8e1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 15 Sep 2008 12:27:28 +0200 Subject: const pointers Convert pointers to const whenever it is possible. Fixes all those -Wconst warnings. --- src/screen_lyrics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/screen_lyrics.c') diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c index ec028a392..4417d1385 100644 --- a/src/screen_lyrics.c +++ b/src/screen_lyrics.c @@ -151,7 +151,7 @@ gpointer get_lyr(void *c) return &lyr_text; } -static char * +static const char * list_callback(int index, int *highlight, void *data) { static char buf[512]; @@ -204,7 +204,7 @@ lyrics_exit(void) } -static char * +static const char * lyrics_title(char *str, size_t size) { static GString *msg; -- cgit v1.2.3