From e5bf4ceec7bf1a5a08852ad3a449a5f259f9bed5 Mon Sep 17 00:00:00 2001 From: Denis Ovsienko Date: Mon, 2 Aug 2021 00:32:46 +0100 Subject: Move capdns from tcpdump.c to addrtoname.c. Address the warning below (specific to a few versions of Clang, CMake and FreeBSD) and update the exemption rule comment in build.sh. tcpdump.c:244:16: warning: no previous extern declaration for non-static variable 'capdns' [-Wmissing-variable-declarations] --- build.sh | 2 -- 1 file changed, 2 deletions(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 3588f81c..16a09458 100755 --- a/build.sh +++ b/build.sh @@ -42,8 +42,6 @@ FreeBSD-*/yes) # [-Werror,-Wc11-extensions] # tcpdump.c:2443:9: error: '_Generic' is a C11 extension # [-Werror,-Wc11-extensions] - # tcpdump.c:244:16: error: no previous extern declaration for non-static variable - # 'capdns' [-Werror,-Wmissing-variable-declarations] TCPDUMP_TAINTED=yes ;; esac -- cgit v1.2.1