diff options
author | Francois-Xavier Le Bail <fx.lebail@yahoo.com> | 2016-09-11 21:45:26 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <fx.lebail@yahoo.com> | 2016-09-11 21:45:26 +0200 |
commit | ca54d72376a35225cebfd3615acb707c072ae22a (patch) | |
tree | 6d0b531e34cf57b0e9749ac1278877296a85d03b /print-telnet.c | |
parent | 537a7da936b4136aec6ac541744e26029096472e (diff) | |
download | tcpdump-ca54d72376a35225cebfd3615acb707c072ae22a.tar.gz |
Declare some variables as static
Diffstat (limited to 'print-telnet.c')
-rw-r--r-- | print-telnet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-telnet.c b/print-telnet.c index ab85e10f..2e32fce8 100644 --- a/print-telnet.c +++ b/print-telnet.c @@ -89,7 +89,7 @@ #define SYNCH 242 /* for telfunc calls */ #ifdef TELCMDS -const char *telcmds[] = { +static const char *telcmds[] = { "EOF", "SUSP", "ABORT", "EOR", "SE", "NOP", "DMARK", "BRK", "IP", "AO", "AYT", "EC", "EL", "GA", "SB", "WILL", "WONT", "DO", "DONT", "IAC", 0, @@ -150,7 +150,7 @@ extern char *telcmds[]; #define NTELOPTS (1+TELOPT_NEW_ENVIRON) #ifdef TELOPTS -const char *telopts[NTELOPTS+1] = { +static const char *telopts[NTELOPTS+1] = { "BINARY", "ECHO", "RCP", "SUPPRESS GO AHEAD", "NAME", "STATUS", "TIMING MARK", "RCTE", "NAOL", "NAOP", "NAOCRD", "NAOHTS", "NAOHTD", "NAOFFD", "NAOVTS", |