From 1e825acf8d715fe49af040cb02f9e96c26955832 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 18 Jan 2022 00:31:27 +0100 Subject: libbb: shrink lineedit_read_key() function old new delta lineedit_read_key 237 231 -6 Signed-off-by: Denys Vlasenko --- editors/patch.c | 2 +- editors/patch_toybox.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'editors') diff --git a/editors/patch.c b/editors/patch.c index 1101766..aebb507 100644 --- a/editors/patch.c +++ b/editors/patch.c @@ -418,7 +418,7 @@ int patch_main(int argc UNUSED_PARAM, char **argv) } // Loop through the lines in the patch - for(;;) { + for (;;) { char *patchline; patchline = xmalloc_fgetline(stdin); diff --git a/editors/patch_toybox.c b/editors/patch_toybox.c index aebab81..69a508b 100644 --- a/editors/patch_toybox.c +++ b/editors/patch_toybox.c @@ -441,7 +441,7 @@ int patch_main(int argc UNUSED_PARAM, char **argv) TT.filein = TT.fileout = -1; // Loop through the lines in the patch - for(;;) { + for (;;) { char *patchline; patchline = get_line(TT.filepatch); -- cgit v1.1