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/kb_scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/kb_scan.c') diff --git a/test/kb_scan.c b/test/kb_scan.c index 57d16bc73d..99361c6c8e 100644 --- a/test/kb_scan.c +++ b/test/kb_scan.c @@ -645,7 +645,7 @@ int test_task(void *data) return EC_SUCCESS; } -void run_test(int argc, char **argv) +void run_test(int argc, const char **argv) { msleep(30); /* Wait for TASK_ID_TEST to initialize */ task_wake(TASK_ID_TEST); -- cgit v1.2.1