From bbe86d554f8fba68f8862586041ab8e8c2f0743d Mon Sep 17 00:00:00 2001 From: nirenjan Date: Thu, 6 Oct 2016 10:39:16 -0700 Subject: [PATCH] Clear up return-type warnings --- cli/x52_cli.c | 2 +- test/x52_test_led.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/x52_cli.c b/cli/x52_cli.c index 8103e7e..e38235e 100644 --- a/cli/x52_cli.c +++ b/cli/x52_cli.c @@ -313,7 +313,7 @@ const struct command_handler handlers[X52_CTL_CMD_MAX] = { } }; -static int do_help(const struct command_handler *cmd) +static void do_help(const struct command_handler *cmd) { int i; if (cmd) { diff --git a/test/x52_test_led.c b/test/x52_test_led.c index 6781293..8202242 100644 --- a/test/x52_test_led.c +++ b/test/x52_test_led.c @@ -75,4 +75,6 @@ int test_blink_n_shift(void) TEST_BLINK_OR_SHIFT(blink); TEST_BLINK_OR_SHIFT(shift); + + return 0; }