diff options
Diffstat (limited to 'console-tools')
-rw-r--r-- | console-tools/clear.c | 2 | ||||
-rw-r--r-- | console-tools/loadfont.c | 2 | ||||
-rw-r--r-- | console-tools/loadkmap.c | 2 | ||||
-rw-r--r-- | console-tools/reset.c | 2 | ||||
-rw-r--r-- | console-tools/resize.c | 4 |
5 files changed, 6 insertions, 6 deletions
diff --git a/console-tools/clear.c b/console-tools/clear.c index 769ce3121..0d94e35b8 100644 --- a/console-tools/clear.c +++ b/console-tools/clear.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include "libbb.h" | 13 | #include "libbb.h" |
14 | 14 | ||
15 | int clear_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 15 | int clear_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
16 | int clear_main(int argc, char **argv) | 16 | int clear_main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) |
17 | { | 17 | { |
18 | return printf("\033[H\033[J") != 6; | 18 | return printf("\033[H\033[J") != 6; |
19 | } | 19 | } |
diff --git a/console-tools/loadfont.c b/console-tools/loadfont.c index 882b8817a..843f4b035 100644 --- a/console-tools/loadfont.c +++ b/console-tools/loadfont.c | |||
@@ -167,7 +167,7 @@ static void loadnewfont(int fd) | |||
167 | } | 167 | } |
168 | 168 | ||
169 | int loadfont_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 169 | int loadfont_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
170 | int loadfont_main(int argc, char **argv) | 170 | int loadfont_main(int argc, char **argv ATTRIBUTE_UNUSED) |
171 | { | 171 | { |
172 | int fd; | 172 | int fd; |
173 | 173 | ||
diff --git a/console-tools/loadkmap.c b/console-tools/loadkmap.c index 40885ee0c..bea5a771f 100644 --- a/console-tools/loadkmap.c +++ b/console-tools/loadkmap.c | |||
@@ -26,7 +26,7 @@ struct kbentry { | |||
26 | #define MAX_NR_KEYMAPS 256 | 26 | #define MAX_NR_KEYMAPS 256 |
27 | 27 | ||
28 | int loadkmap_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 28 | int loadkmap_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
29 | int loadkmap_main(int argc, char **argv) | 29 | int loadkmap_main(int argc, char **argv ATTRIBUTE_UNUSED) |
30 | { | 30 | { |
31 | struct kbentry ke; | 31 | struct kbentry ke; |
32 | int i, j, fd; | 32 | int i, j, fd; |
diff --git a/console-tools/reset.c b/console-tools/reset.c index bc18cd050..f36ef544c 100644 --- a/console-tools/reset.c +++ b/console-tools/reset.c | |||
@@ -18,7 +18,7 @@ int stty_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | |||
18 | #endif | 18 | #endif |
19 | 19 | ||
20 | int reset_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 20 | int reset_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
21 | int reset_main(int argc, char **argv) | 21 | int reset_main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) |
22 | { | 22 | { |
23 | static const char *const args[] = { | 23 | static const char *const args[] = { |
24 | "stty", "sane", NULL | 24 | "stty", "sane", NULL |
diff --git a/console-tools/resize.c b/console-tools/resize.c index 7f72b9a46..01b1442f6 100644 --- a/console-tools/resize.c +++ b/console-tools/resize.c | |||
@@ -21,10 +21,10 @@ onintr(int sig ATTRIBUTE_UNUSED) | |||
21 | } | 21 | } |
22 | 22 | ||
23 | int resize_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 23 | int resize_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
24 | int resize_main(int argc, char **argv) | 24 | int resize_main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) |
25 | { | 25 | { |
26 | struct termios new; | 26 | struct termios new; |
27 | struct winsize w = { 0,0,0,0 }; | 27 | struct winsize w = { 0, 0, 0, 0 }; |
28 | int ret; | 28 | int ret; |
29 | 29 | ||
30 | /* We use _stderr_ in order to make resize usable | 30 | /* We use _stderr_ in order to make resize usable |