[git commit] *: make "argc UNUSED_PARAM" consistent

Denys Vlasenko vda.linux at googlemail.com
Mon Jan 8 08:43:51 UTC 2018


commit: https://git.busybox.net/busybox/commit/?id=cb9c3894e50ecd5e940bb8a248fdb49da8e0c918
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 procps/mpstat.c   | 2 +-
 procps/powertop.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/procps/mpstat.c b/procps/mpstat.c
index 7ead1fa..ed678f4 100644
--- a/procps/mpstat.c
+++ b/procps/mpstat.c
@@ -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;
diff --git a/procps/powertop.c b/procps/powertop.c
index 2872035..004b4ce 100644
--- a/procps/powertop.c
+++ b/procps/powertop.c
@@ -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];


More information about the busybox-cvs mailing list