mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-09 06:25:16 +00:00
canutils: changed print_usage function to static
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
This commit is contained in:
parent
5cddb39b4e
commit
72b3f97e24
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue