diff options
Diffstat (limited to 'console-tools/resize.c')
-rw-r--r-- | console-tools/resize.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/console-tools/resize.c b/console-tools/resize.c index 8a50f9dcd..ea7fe5fca 100644 --- a/console-tools/resize.c +++ b/console-tools/resize.c | |||
@@ -14,14 +14,14 @@ | |||
14 | #define old_termios (*(struct termios*)&bb_common_bufsiz1) | 14 | #define old_termios (*(struct termios*)&bb_common_bufsiz1) |
15 | 15 | ||
16 | static void | 16 | static void |
17 | onintr(int sig ATTRIBUTE_UNUSED) | 17 | onintr(int sig UNUSED_PARAM) |
18 | { | 18 | { |
19 | tcsetattr(STDERR_FILENO, TCSANOW, &old_termios); | 19 | tcsetattr(STDERR_FILENO, TCSANOW, &old_termios); |
20 | exit(EXIT_FAILURE); | 20 | exit(EXIT_FAILURE); |
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 ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) | 24 | int resize_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) |
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 }; |