From: Jouni Malinen Date: Thu, 23 Jun 2016 22:47:02 +0000 (+0300) Subject: ndisc_snoop: Include ndisc_snoop.h to check prototypes X-Git-Tag: hostap_2_6~340 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bbae0f03aa449640fa1f6bd2eb2a1038f8595391;p=thirdparty%2Fhostap.git 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 --- diff --git a/src/ap/ndisc_snoop.c b/src/ap/ndisc_snoop.c index 4a87721e2..3c086bfc7 100644 --- a/src/ap/ndisc_snoop.c +++ b/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;