canutils: changed print_usage function to static
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
This commit is contained in:
parent
5cddb39b4e
commit
72b3f97e24
@ -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…
Reference in New Issue
Block a user