projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
"formated" -> "formatted" throughout the code base.
[oweals/busybox.git]
/
miscutils
/
less.c
diff --git
a/miscutils/less.c
b/miscutils/less.c
index 7de1836568798f19a4df8e179d86e259c9a088da..596490483e419ae5e2b3023183282bf476c3500a 100644
(file)
--- a/
miscutils/less.c
+++ b/
miscutils/less.c
@@
-30,6
+30,7
@@
* redirected input has been read from stdin
*/
* redirected input has been read from stdin
*/
+#include "busybox.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@
-37,8
+38,6
@@
#include <unistd.h>
#include <ctype.h>
#include <unistd.h>
#include <ctype.h>
-#include "busybox.h"
-
#ifdef CONFIG_FEATURE_LESS_REGEXP
#include "xregex.h"
#endif
#ifdef CONFIG_FEATURE_LESS_REGEXP
#include "xregex.h"
#endif
@@
-1133,7
+1132,7
@@
int less_main(int argc, char **argv) {
}
strcpy(filename, (inp_stdin) ? bb_msg_standard_input : files[0]);
}
strcpy(filename, (inp_stdin) ? bb_msg_standard_input : files[0]);
- get_terminal_width_height(0, &width, &height)
+ get_terminal_width_height(0, &width, &height)
;
data_readlines();
tcgetattr(fileno(inp), &term_orig);
term_vi = term_orig;
data_readlines();
tcgetattr(fileno(inp), &term_orig);
term_vi = term_orig;