*: add -Wunused-parameter; fix resulting breakage
[oweals/busybox.git] / console-tools / resize.c
index 7f72b9a4659bfba5a94547688e4998fa634132ba..01b1442f6706f369a335543c8c32af234192e0e3 100644 (file)
@@ -21,10 +21,10 @@ onintr(int sig ATTRIBUTE_UNUSED)
 }
 
 int resize_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
-int resize_main(int argc, char **argv)
+int resize_main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED)
 {
        struct termios new;
-       struct winsize w = { 0,0,0,0 };
+       struct winsize w = { 0, 0, 0, 0 };
        int ret;
 
        /* We use _stderr_ in order to make resize usable