]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
ndisc_snoop: Include ndisc_snoop.h to check prototypes
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 23 Jun 2016 22:47:02 +0000 (01:47 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 24 Jun 2016 16:02:58 +0000 (19:02 +0300)
This allows the compiler to check that function prototypes match the
implementation. In addition, this gets rid of sparse warnings.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/ap/ndisc_snoop.c

index 4a87721e2ecfce3f65e070c3fd3e22077f3f2cab..3c086bfc7131bc76d996679fa6598b87d45fbaf6 100644 (file)
@@ -17,6 +17,7 @@
 #include "ap_drv_ops.h"
 #include "list.h"
 #include "x_snoop.h"
+#include "ndisc_snoop.h"
 
 struct ip6addr {
        struct in6_addr addr;