This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push: new 72b3f97 canutils: changed print_usage function to static 72b3f97 is described below commit 72b3f97e24af3abf4cbcf1ca21fb009c02306c40 Author: Michal Lenc <michall...@seznam.cz> AuthorDate: Tue Feb 16 23:00:51 2021 +0100 canutils: changed print_usage function to static Signed-off-by: Michal Lenc <michall...@seznam.cz> --- canutils/candump/candump.c | 2 +- canutils/cansend/cansend.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/canutils/candump/candump.c b/canutils/candump/candump.c index 5bea919..b040c15 100644 --- a/canutils/candump/candump.c +++ b/canutils/candump/candump.c @@ -115,7 +115,7 @@ extern int optind, opterr, optopt; static volatile int running = 1; -void print_usage(char *prg) +static void print_usage(char *prg) { fprintf(stderr, "%s - dump CAN bus traffic.\n", prg); fprintf(stderr, "\nUsage: %s [options] <CAN interface>+\n", prg); diff --git a/canutils/cansend/cansend.c b/canutils/cansend/cansend.c index a629a4a..1001b52 100644 --- a/canutils/cansend/cansend.c +++ b/canutils/cansend/cansend.c @@ -56,7 +56,7 @@ #include "lib.h" -void print_usage_send(char *prg) +static void print_usage_send(char *prg) { fprintf(stderr, "%s - send CAN-frames via CAN_RAW sockets.\n", prg); fprintf(stderr, "\nUsage: %s <device> <can_frame>.\n", prg);