mirror of
https://github.com/linux-can/can-utils.git
synced 2026-09-22 08:06:34 +02:00
can-utils: make local functions static
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
This commit is contained in:
+3
-3
@@ -94,7 +94,7 @@ static unsigned char bargraph;
|
||||
static enum cfl_mode mode = CFL_WORSTCASE;
|
||||
static char *prg;
|
||||
|
||||
void print_usage(char *prg)
|
||||
static void print_usage(char *prg)
|
||||
{
|
||||
fprintf(stderr, "%s - monitor CAN bus load.\n", prg);
|
||||
fprintf(stderr, "\nUsage: %s [options] <CAN interface>+\n", prg);
|
||||
@@ -124,13 +124,13 @@ void print_usage(char *prg)
|
||||
fprintf(stderr, "\n");
|
||||
}
|
||||
|
||||
void sigterm(int signo)
|
||||
static void sigterm(int signo)
|
||||
{
|
||||
running = 0;
|
||||
signal_num = signo;
|
||||
}
|
||||
|
||||
void printstats(int signo)
|
||||
static void printstats(int signo)
|
||||
{
|
||||
int i, j, percent;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user