aboutsummaryrefslogtreecommitdiff
path: root/libbb/bb_askpass.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-04-07 15:08:12 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2018-04-07 15:08:12 +0200
commit77cb6b99a436c20bb171e6cdad7b8b8b5ce3692c (patch)
treed00b5b460baa99be5547a2236790dbea31f90a5d /libbb/bb_askpass.c
parent2f094ae82106e91cb210e79ddc2e5285377b549e (diff)
downloadbusybox-w32-77cb6b99a436c20bb171e6cdad7b8b8b5ce3692c.tar.gz
busybox-w32-77cb6b99a436c20bb171e6cdad7b8b8b5ce3692c.tar.bz2
busybox-w32-77cb6b99a436c20bb171e6cdad7b8b8b5ce3692c.zip
libbb: rename bb_ask -> bb_ask_noecho, bb_ask_confirmation -> bb_ask_y_confirmation
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/bb_askpass.c')
-rw-r--r--libbb/bb_askpass.c6
1 files changed, 3 insertions, 3 deletions
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)
13{ 13{
14} 14}
15 15
16char* FAST_FUNC bb_ask_stdin(const char *prompt) 16char* FAST_FUNC bb_ask_noecho_stdin(const char *prompt)
17{ 17{
18 return bb_ask(STDIN_FILENO, 0, prompt); 18 return bb_ask_noecho(STDIN_FILENO, 0, prompt);
19} 19}
20char* FAST_FUNC bb_ask(const int fd, int timeout, const char *prompt) 20char* FAST_FUNC bb_ask_noecho(const int fd, int timeout, const char *prompt)
21{ 21{
22 /* Was static char[BIGNUM] */ 22 /* Was static char[BIGNUM] */
23 enum { sizeof_passwd = 128 }; 23 enum { sizeof_passwd = 128 };