summaryrefslogtreecommitdiff
path: root/print-gre.c
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2013-09-24 20:46:24 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2013-09-24 20:54:03 +0400
commit7de355927bb4dac90db045d52a69bf95c841b807 (patch)
tree61668ba48012b8bbd61af1fc765ab27cf0233ac3 /print-gre.c
parent1db497c3176b331b768ed1b5326473f8fbca73bf (diff)
downloadtcpdump-7de355927bb4dac90db045d52a69bf95c841b807.tar.gz
justify declarations of struct tok arrays
Make sure all of them are declared const and most of them -- static. Proper declaration of token arrays is a common review point for new code that is based on existing decoders. Thus fix the issue at its root.
Diffstat (limited to 'print-gre.c')
-rw-r--r--print-gre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-gre.c b/print-gre.c
index b6fa5223..b4ad09a4 100644
--- a/print-gre.c
+++ b/print-gre.c
@@ -65,7 +65,7 @@ static const char rcsid[] _U_ =
#define GRE_RECRS 0x0700 /* recursion count */
#define GRE_AP 0x0080 /* acknowledgment# present */
-struct tok gre_flag_values[] = {
+static const struct tok gre_flag_values[] = {
{ GRE_CP, "checksum present"},
{ GRE_RP, "routing present"},
{ GRE_KP, "key present"},