aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-01-08 09:43:51 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-01-08 09:43:51 +0100
commitcb9c3894e50ecd5e940bb8a248fdb49da8e0c918 (patch)
treeeef91cbb300825ad8cedd1877df3bcf3d88a5532
parent844a6c5abdcb5a189e91cb7ca3742bcaed25a4da (diff)
downloadbusybox-w32-cb9c3894e50ecd5e940bb8a248fdb49da8e0c918.tar.gz
busybox-w32-cb9c3894e50ecd5e940bb8a248fdb49da8e0c918.tar.bz2
busybox-w32-cb9c3894e50ecd5e940bb8a248fdb49da8e0c918.zip
*: make "argc UNUSED_PARAM" consistent
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--procps/mpstat.c2
-rw-r--r--procps/powertop.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/procps/mpstat.c b/procps/mpstat.c
index 7ead1fa7d..ed678f456 100644
--- a/procps/mpstat.c
+++ b/procps/mpstat.c
@@ -840,7 +840,7 @@ static int get_irqcpu_nr(const char *f, int max_irqs)
840//usage: "\n -u Report CPU utilization" 840//usage: "\n -u Report CPU utilization"
841 841
842int mpstat_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 842int mpstat_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
843int mpstat_main(int UNUSED_PARAM argc, char **argv) 843int mpstat_main(int argc UNUSED_PARAM, char **argv)
844{ 844{
845 char *opt_irq_fmt; 845 char *opt_irq_fmt;
846 char *opt_set_cpu; 846 char *opt_set_cpu;
diff --git a/procps/powertop.c b/procps/powertop.c
index 2872035cf..004b4ce19 100644
--- a/procps/powertop.c
+++ b/procps/powertop.c
@@ -686,7 +686,7 @@ static void show_timerstats(void)
686//usage: "Analyze power consumption on Intel-based laptops" 686//usage: "Analyze power consumption on Intel-based laptops"
687 687
688int powertop_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 688int powertop_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
689int powertop_main(int UNUSED_PARAM argc, char UNUSED_PARAM **argv) 689int powertop_main(int argc UNUSED_PARAM, char UNUSED_PARAM **argv)
690{ 690{
691 ullong cur_usage[MAX_CSTATE_COUNT]; 691 ullong cur_usage[MAX_CSTATE_COUNT];
692 ullong cur_duration[MAX_CSTATE_COUNT]; 692 ullong cur_duration[MAX_CSTATE_COUNT];