line editing: make read_line_input() not take timeout param
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 2 Aug 2017 15:27:28 +0000 (17:27 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 2 Aug 2017 15:27:28 +0000 (17:27 +0200)
commit84ea60ed65f6ea6fd3b2170e44bbff5de410a78b
tree54837341ed6ed021d9b20400b8a8a5aea7bd3b62
parentdd4b446f76736c0a13a61a38d7d816b6e6b5fca2
line editing: make read_line_input() not take timeout param

It's almost always -1.

function                                             old     new   delta
read_line_input                                     3902    3912     +10
new_line_input_t                                      24      31      +7
pgetc                                                583     585      +2
save_command_ps_at_cur_history                        80      78      -2
read_line                                             76      74      -2
fgetc_interactive                                    246     244      -2
addLines                                              84      82      -2
doCommands                                          2226    2222      -4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/5 up/down: 19/-12)              Total: 7 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
editors/ed.c
include/libbb.h
libbb/lineedit.c
shell/ash.c
shell/hush.c
util-linux/fdisk.c