cangen: mark functions as static
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>pull/386/head
parent
11a0f19244
commit
a130ab5e8d
4
cangen.c
4
cangen.c
|
|
@ -80,7 +80,7 @@ extern int optind, opterr, optopt;
|
||||||
static volatile int running = 1;
|
static volatile int running = 1;
|
||||||
static unsigned long long enobufs_count;
|
static unsigned long long enobufs_count;
|
||||||
|
|
||||||
void print_usage(char *prg)
|
static void print_usage(char *prg)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "%s - CAN frames generator.\n\n", prg);
|
fprintf(stderr, "%s - CAN frames generator.\n\n", prg);
|
||||||
fprintf(stderr, "Usage: %s [options] <CAN interface>\n", prg);
|
fprintf(stderr, "Usage: %s [options] <CAN interface>\n", prg);
|
||||||
|
|
@ -128,7 +128,7 @@ void print_usage(char *prg)
|
||||||
fprintf(stderr, "\t(my favourite default :)\n\n");
|
fprintf(stderr, "\t(my favourite default :)\n\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
void sigterm(int signo)
|
static void sigterm(int signo)
|
||||||
{
|
{
|
||||||
running = 0;
|
running = 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue