From 2e864b253903b8fbcfa509113be2407e76daea2e Mon Sep 17 00:00:00 2001 From: Caveh Jalali Date: Tue, 30 Aug 2022 00:03:12 -0700 Subject: tree-wide: const-ify argv for console commands This updates the API for console commands from "int cmd(int argc, char **argv)" to "int cmd(int argc, const char **argv)" which is more accurate and in line with common convention. BRANCH=none BUG=b:244387210 TEST="make buildall" passes TEST="zmake build -a" passes TEST="util/compare_build.sh -b all" passes TEST="./twister -v -T zephyr/test" passes Cq-Depend: chrome-internal:4960125 Cq-Depend: chrome-internal:4959932 Change-Id: I57de9f35b85b8f3c7119df36aefb2abf25d2625f Signed-off-by: Caveh Jalali Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3863941 Reviewed-by: Aseda Aboagye Reviewed-by: Tom Hughes Reviewed-by: Keith Short --- test/motion_sense_fifo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/motion_sense_fifo.c') diff --git a/test/motion_sense_fifo.c b/test/motion_sense_fifo.c index f2ad86a951..647c255ba1 100644 --- a/test/motion_sense_fifo.c +++ b/test/motion_sense_fifo.c @@ -427,7 +427,7 @@ void before_test(void) motion_sense_fifo_reset(); } -void run_test(int argc, char **argv) +void run_test(int argc, const char **argv) { test_reset(); motion_sense_fifo_init(); -- cgit v1.2.1