aboutsummaryrefslogtreecommitdiffstats
path: root/caputils
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-02-18 20:00:38 +0100
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2015-02-19 16:15:53 +0000
commit20e2c38b74446c6215975b951566004e172f40f6 (patch)
treedbd811b36affa1612a006a7b33113b65edd82ff3 /caputils
parent5c6028975356ef813c225015d28cf1c7e0a805a1 (diff)
downloadwireshark-20e2c38b74446c6215975b951566004e172f40f6.tar.gz
wireshark-20e2c38b74446c6215975b951566004e172f40f6.tar.bz2
wireshark-20e2c38b74446c6215975b951566004e172f40f6.zip
libnl: disable pedantic warning of libnl lib
Part 2... Change-Id: I47b74c81ee7b7cd8296ce9da5a60ad6aecef8c78 Reviewed-on: https://code.wireshark.org/review/7239 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'caputils')
-rw-r--r--caputils/iface_monitor.c2
-rw-r--r--caputils/ws80211_utils.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/caputils/iface_monitor.c b/caputils/iface_monitor.c
index 33d3a120e6..54c9d6045b 100644
--- a/caputils/iface_monitor.c
+++ b/caputils/iface_monitor.c
@@ -40,7 +40,9 @@ DIAG_OFF(pedantic)
#include <netlink/msg.h>
DIAG_ON(pedantic)
#include <netlink/attr.h>
+DIAG_OFF(pedantic)
#include <netlink/route/link.h>
+DIAG_ON(pedantic)
#ifndef IFF_UP
/*
diff --git a/caputils/ws80211_utils.c b/caputils/ws80211_utils.c
index c53dcf6d39..7df534617f 100644
--- a/caputils/ws80211_utils.c
+++ b/caputils/ws80211_utils.c
@@ -40,7 +40,9 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <net/if.h>
#include <sys/ioctl.h>
+DIAG_OFF(pedantic)
#include <netlink/genl/genl.h>
+DIAG_ON(pedantic)
#include <netlink/genl/family.h>
#include <netlink/genl/ctrl.h>
DIAG_OFF(pedantic)