From 77cb6b99a436c20bb171e6cdad7b8b8b5ce3692c Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 7 Apr 2018 15:08:12 +0200 Subject: libbb: rename bb_ask -> bb_ask_noecho, bb_ask_confirmation -> bb_ask_y_confirmation Signed-off-by: Denys Vlasenko --- libbb/bb_askpass.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libbb/bb_askpass.c') diff --git a/libbb/bb_askpass.c b/libbb/bb_askpass.c index 5599c82ef..aadc69108 100644 --- a/libbb/bb_askpass.c +++ b/libbb/bb_askpass.c @@ -13,11 +13,11 @@ static void askpass_timeout(int UNUSED_PARAM ignore) { } -char* FAST_FUNC bb_ask_stdin(const char *prompt) +char* FAST_FUNC bb_ask_noecho_stdin(const char *prompt) { - return bb_ask(STDIN_FILENO, 0, prompt); + return bb_ask_noecho(STDIN_FILENO, 0, prompt); } -char* FAST_FUNC bb_ask(const int fd, int timeout, const char *prompt) +char* FAST_FUNC bb_ask_noecho(const int fd, int timeout, const char *prompt) { /* Was static char[BIGNUM] */ enum { sizeof_passwd = 128 }; -- cgit v1.2.3