diff options
author | Max Kellermann <max@duempel.org> | 2008-09-15 12:27:29 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-15 12:27:29 +0200 |
commit | 76a8fab4adc293982f355609b89dde88d5f355e0 (patch) | |
tree | b8fe58ce54cade4122402c57328a9691064b2590 /src/screen_utils.c | |
parent | 0b3bcb6c7f1bb4a633896b8a9936e498570ef8e1 (diff) | |
download | mpd-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_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |