cangen: mark locally used function static

sigterm isn't regularly called from outside the translation unit, thus
make it static.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
pull/195/head
Ahmad Fatoum 2020-01-03 13:56:04 +01:00
parent e25ef75692
commit 531b93cf52
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ void print_usage(char *prg)
fprintf(stderr, "(my favourite default :)\n\n");
}
void sigterm(int signo)
static void sigterm(int signo)
{
running = 0;
}