Parcourir la source

ndisc_snoop: Include ndisc_snoop.h to check prototypes

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>
Jouni Malinen il y a 8 ans
Parent
commit
bbae0f03aa
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/ap/ndisc_snoop.c

+ 1 - 0
src/ap/ndisc_snoop.c

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