*: make "argc UNUSED_PARAM" consistent
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 8 Jan 2018 08:43:51 +0000 (09:43 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 8 Jan 2018 08:43:51 +0000 (09:43 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
procps/mpstat.c
procps/powertop.c

index 7ead1fa7db36eda34a6ffabf2308a6fc10b381ef..ed678f4562b58ebb16380ef1e27f039be5e6cada 100644 (file)
@@ -840,7 +840,7 @@ static int get_irqcpu_nr(const char *f, int max_irqs)
 //usage:     "\n       -u                      Report CPU utilization"
 
 int mpstat_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
-int mpstat_main(int UNUSED_PARAM argc, char **argv)
+int mpstat_main(int argc UNUSED_PARAM, char **argv)
 {
        char *opt_irq_fmt;
        char *opt_set_cpu;
index 2872035cfcfaf1cc33d06dda94e0a2cf2caaebe2..004b4ce195c62ecd56e06bd9f97404d5bb776919 100644 (file)
@@ -686,7 +686,7 @@ static void show_timerstats(void)
 //usage:       "Analyze power consumption on Intel-based laptops"
 
 int powertop_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
-int powertop_main(int UNUSED_PARAM argc, char UNUSED_PARAM **argv)
+int powertop_main(int argc UNUSED_PARAM, char UNUSED_PARAM **argv)
 {
        ullong cur_usage[MAX_CSTATE_COUNT];
        ullong cur_duration[MAX_CSTATE_COUNT];