aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_search.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_search.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 'src/screen_search.c')
-rw-r--r--src/screen_search.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screen_search.c b/src/screen_search.c
index 816968619..a74ef6092 100644
--- a/src/screen_search.c
+++ b/src/screen_search.c
@@ -188,7 +188,7 @@ search_clear(screen_t *screen, mpdclient_t *c, gboolean clear_pattern)
}
#ifdef FUTURE
-mpdclient_filelist_t *
+static mpdclient_filelist_t *
filelist_search(mpdclient_t *c, int exact_match, int table, gchar *pattern)
{
mpdclient_filelist_t *list, *list2;
@@ -454,7 +454,7 @@ get_title(char *str, size_t size)
}
static list_window_t *
-get_filelist_window()
+get_filelist_window(void)
{
return lw;
}