summaryrefslogtreecommitdiff
path: root/tcpdump.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2019-03-19 10:39:06 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2019-03-19 11:01:27 +0100
commit9eabb84a474ae6ce5b219ea2b5d8eee01722c66d (patch)
treee95ae590c03d630fc3a4e6992197a58b9da4f005 /tcpdump.c
parentd6ca6f1111973646746ab60fe358983d2b6bff3e (diff)
downloadtcpdump-9eabb84a474ae6ce5b219ea2b5d8eee01722c66d.tar.gz
Squelch a clang warning
The warning was: ./tcpdump.c:182:5: warning: no previous extern declaration for non-static variable 'dflag' [-Wmissing-variable-declarations]
Diffstat (limited to 'tcpdump.c')
-rw-r--r--tcpdump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcpdump.c b/tcpdump.c
index 1ed33461..9790a4e3 100644
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -179,6 +179,7 @@ static char *remote_interfaces_source; /* list available devices from this sourc
* dflag but, instead, *if* built with optimizer debugging code,
* *export* a routine to set that flag.
*/
+extern int dflag;
int dflag; /* print filter code */
static int Gflag; /* rotate dump files after this many seconds */
static int Gflag_count; /* number of files created with Gflag rotation */