From: Max Kellermann Date: Wed, 30 Sep 2009 14:30:15 +0000 (+0200) Subject: screen_utils: removed unused function screen_getstr() X-Git-Tag: release-0.16~280 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bcae179e13a097c60362ca38b16e4ae8afe03773;p=ncmpc.git screen_utils: removed unused function screen_getstr() --- diff --git a/src/screen_utils.c b/src/screen_utils.c index 9b70369..3c9ccfe 100644 --- a/src/screen_utils.c +++ b/src/screen_utils.c @@ -92,12 +92,6 @@ screen_readln(WINDOW *w, return line; } -char * -screen_getstr(WINDOW *w, const char *prompt) -{ - return screen_readln(w, prompt, NULL, NULL, NULL); -} - char * screen_read_password(WINDOW *w, const char *prompt) { diff --git a/src/screen_utils.h b/src/screen_utils.h index c878273..5b133fc 100644 --- a/src/screen_utils.h +++ b/src/screen_utils.h @@ -38,16 +38,12 @@ void screen_bell(void); /* read a character from the status window */ int screen_getch(WINDOW *w, const char *prompt); -/* read a string from the status window */ -char *screen_getstr(WINDOW *w, const char *prompt); - char * screen_read_password(WINDOW *w, const char *prompt); char *screen_readln(WINDOW *w, const char *prompt, const char *value, GList **history, GCompletion *gcmp); -char *screen_readln_masked(WINDOW *w, const char *prompt); -char *screen_read_pasword(WINDOW *w, const char *prompt); + /* query user for a string and find it in a list window */ int screen_find(struct list_window *lw, int rows,