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:
Gabor Juhos 2011-12-19 22:24:57 +01:00 committed by Luis R. Rodriguez
parent 835ef634b2
commit 1da0066638

View file

@ -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();