From 76a8fab4adc293982f355609b89dde88d5f355e0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 15 Sep 2008 12:27:29 +0200 Subject: 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. --- src/screen_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/screen_utils.c') diff --git a/src/screen_utils.c b/src/screen_utils.c index 9b3bfa266..a1cdedb2c 100644 --- a/src/screen_utils.c +++ b/src/screen_utils.c @@ -102,7 +102,7 @@ screen_getstr(WINDOW *w, const char *prompt) return screen_readln(w, prompt, NULL, NULL, NULL); } -char * +static char * screen_read_password(WINDOW *w, const char *prompt) { if(w == NULL) @@ -124,7 +124,7 @@ screen_read_password(WINDOW *w, const char *prompt) curs_set(0); } -gint +static gint _screen_auth(mpdclient_t *c, gint recursion) { mpd_clearError(c->connection); -- cgit v1.2.3