Search Linux Wireless

[PATCH 12/15] initvals: make 'print_initvals_family' static void

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
---
 initvals.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/initvals.c b/initvals.c
index eca6705..9c149ef 100644
--- a/initvals.c
+++ b/initvals.c
@@ -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();
-- 
1.7.2.1

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux