Search Linux Wireless

[PATCH 11/15] initvals: include <string.h> to make gcc happy

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

 



The patch fixes the following warning
(with CFLAGS=-Wimplicit-function-declaration):

initvals.c: In function ‘print_initvals_family’:
initvals.c:612: warning: implicit declaration of function ‘strncmp’

Signed-off-by: Gabor Juhos <juhosg@xxxxxxxxxxx>
---
 initvals.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/initvals.c b/initvals.c
index 32a38f6..eca6705 100644
--- a/initvals.c
+++ b/initvals.c
@@ -7,6 +7,7 @@
 #include <stdio.h>
 #include <stdint.h>
 #include <stdbool.h>
+#include <string.h>
 
 typedef uint32_t u32;
 typedef long long unsigned int u64;
-- 
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