aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-12-24 07:30:09 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-12-24 07:30:09 +0000
commit7cea262273659e9894d446a3f9ea6b83fb18892a (patch)
tree299558d0939d916961a8ab55c23a0be6f9e15442
parenta5b3e76c38371c2c5781c11cfe5980aeb041e034 (diff)
downloadbusybox-7cea262273659e9894d446a3f9ea6b83fb18892a.tar.gz
small stupid changes. no code changes
-rw-r--r--libbb/device_open.c3
-rw-r--r--miscutils/less.c10
2 files changed, 3 insertions, 10 deletions
diff --git a/libbb/device_open.c b/libbb/device_open.c
index c788b6982..2b35ad8a3 100644
--- a/libbb/device_open.c
+++ b/libbb/device_open.c
@@ -7,11 +7,8 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
-#include <stdio.h>
-#include <fcntl.h>
#include "libbb.h"
-
/* try to open up the specified device */
int device_open(const char *device, int mode)
{
diff --git a/miscutils/less.c b/miscutils/less.c
index 66158899d..290635d32 100644
--- a/miscutils/less.c
+++ b/miscutils/less.c
@@ -555,8 +555,8 @@ static char* getch_nowait(void)
}
/* Grab a character from input without requiring the return key. If the
- character is ASCII \033, get more characters and assign certain sequences
- special return codes. Note that this function works best with raw input. */
+ * character is ASCII \033, get more characters and assign certain sequences
+ * special return codes. Note that this function works best with raw input. */
static int less_getch(void)
{
char *input;
@@ -632,8 +632,7 @@ static void examine_file(void)
/* This function changes the file currently being paged. direction can be one of the following:
* -1: go back one file
* 0: go to the first file
- * 1: go forward one file
-*/
+ * 1: go forward one file */
static void change_file(int direction)
{
if (current_file != ((direction > 0) ? num_files : 1)) {
@@ -971,9 +970,7 @@ static void goto_mark(void)
}
#endif
-
#if ENABLE_FEATURE_LESS_BRACKETS
-
static char opp_bracket(char bracket)
{
switch (bracket) {
@@ -1029,7 +1026,6 @@ static void match_left_bracket(char bracket)
print_statusline("No matching bracket found");
buffer_line(bracket_line);
}
-
#endif /* FEATURE_LESS_BRACKETS */
static void keypress_process(int keypress)