]> The Tcpdump Group git mirrors - tcpdump/commit
Move capdns from tcpdump.c to addrtoname.c.
authorDenis Ovsienko <[email protected]>
Sun, 1 Aug 2021 23:32:46 +0000 (00:32 +0100)
committerDenis Ovsienko <[email protected]>
Wed, 29 Sep 2021 14:09:13 +0000 (15:09 +0100)
commit4bab1187e14675242f71654f1f196c16fc1679d3
tree022d8d954bde911c987aac74b5df87d32880704c
parent7aec995c635dd252d364284a0c00280502fbef62
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]

(cherry picked from commit e5bf4ceec7bf1a5a08852ad3a449a5f259f9bed5)
addrtoname.c
addrtoname.h
build.sh
tcpdump.c