aboutsummaryrefslogtreecommitdiff
path: root/console-tools/resize.c
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools/resize.c')
-rw-r--r--console-tools/resize.c4
1 files changed, 2 insertions, 2 deletions
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
23int resize_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 23int resize_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
24int resize_main(int argc, char **argv) 24int 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