diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-05 09:18:54 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-05 09:18:54 +0000 |
commit | a60f84ebf07863e390b72a2b6150e461a1ec18e9 (patch) | |
tree | f59bc665cfe3d2d32622450d80523e3c1265e501 /console-tools/resize.c | |
parent | f6efccc0659a2e2978f2021153f34ce92257ad2b (diff) | |
download | busybox-w32-a60f84ebf07863e390b72a2b6150e461a1ec18e9.tar.gz busybox-w32-a60f84ebf07863e390b72a2b6150e461a1ec18e9.tar.bz2 busybox-w32-a60f84ebf07863e390b72a2b6150e461a1ec18e9.zip |
*: rename ATTRIBUTE_XXX to just XXX.
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 }; |