mirror of
https://github.com/qca/qca-swiss-army-knife.git
synced 2026-01-27 17:07:18 +01:00
initvals: make 'print_initvals_family' static void
The patch fixes the following warnings (with CFLAGS=-Wall): initvals.c:608: warning: return type defaults to ‘int’ initvals.c: In function ‘print_initvals_family’: initvals.c:670: warning: control reaches end of non-void function Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
This commit is contained in:
parent
835ef634b2
commit
1da0066638
1 changed files with 1 additions and 1 deletions
|
|
@ -605,7 +605,7 @@ static void usage()
|
|||
printf("Usage: initvals [-w] [-f ar5008 | ar9001 | ar9002 | ar9003-2p2 | ar9330-1p1 | ar9330-1p2 | ar9485 | ar9580-1p0 ]\n");
|
||||
}
|
||||
|
||||
print_initvals_family(char *family, bool check)
|
||||
static void print_initvals_family(char *family, bool check)
|
||||
{
|
||||
if (!check)
|
||||
print_license();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue