summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2021-08-02 00:32:46 +0100
committerDenis Ovsienko <denis@ovsienko.info>2021-08-02 00:32:46 +0100
commite5bf4ceec7bf1a5a08852ad3a449a5f259f9bed5 (patch)
treeb2e6e9dd523df19bc8fa04360b1bf7a5af4cce3b /build.sh
parentcae0c6501350fe1d1742211014530a60c2e91f71 (diff)
downloadtcpdump-e5bf4ceec7bf1a5a08852ad3a449a5f259f9bed5.tar.gz
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]
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 0 insertions, 2 deletions
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