Search Linux Wireless

[PATCH 10/15] initvals: fix type of the second argument of 'main'

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

 



The patch fixes the followinf warning
(with CFLAGS=-Wmain):

initvals.c:673: warning: second argument of ‘main’ should be ‘char **’

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 1908986..32a38f6 100644
--- a/initvals.c
+++ b/initvals.c
@@ -669,7 +669,7 @@ print_initvals_family(char *family, bool check)
 	}
 }
 
-int main(int argc, void *argv[])
+int main(int argc, char *argv[])
 {
 
 	if (argc > 1) {
-- 
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