]> The Tcpdump Group git mirrors - tcpdump/commitdiff
tcpdump.c: mark several variables as static
authorKovarththanan Rajaratnam <[email protected]>
Sat, 20 Feb 2010 08:02:00 +0000 (09:02 +0100)
committerKovarththanan Rajaratnam <[email protected]>
Sat, 20 Feb 2010 08:02:30 +0000 (09:02 +0100)
tcpdump.c

index 1d8d74ebe8df53daded0d4e13c5b7407d008dd5a..06683af344a483ff5c9874d546e7aea165654afa 100644 (file)
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -90,9 +90,9 @@ extern int SIZE_BUF;
 netdissect_options Gndo;
 netdissect_options *gndo = &Gndo;
 
-int dflag;                     /* print filter code */
-int Lflag;                     /* list available data link types and exit */
-char *zflag = NULL;            /* compress each savefile using a specified command (like gzip or bzip2) */
+static int dflag;                      /* print filter code */
+static int Lflag;                      /* list available data link types and exit */
+static char *zflag = NULL;             /* compress each savefile using a specified command (like gzip or bzip2) */
 
 static int infodelay;
 static int infoprint;