From bbae0f03aa449640fa1f6bd2eb2a1038f8595391 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 24 Jun 2016 01:47:02 +0300 Subject: [PATCH] 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 --- src/ap/ndisc_snoop.c | 1 + 1 file changed, 1 insertion(+) 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;