From bcae179e13a097c60362ca38b16e4ae8afe03773 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 30 Sep 2009 16:30:15 +0200 Subject: [PATCH] screen_utils: removed unused function screen_getstr() --- src/screen_utils.c | 6 ------ src/screen_utils.h | 6 +----- 2 files changed, 1 insertion(+), 11 deletions(-) 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, -- 2.30.2