From 7de355927bb4dac90db045d52a69bf95c841b807 Mon Sep 17 00:00:00 2001 From: Denis Ovsienko Date: Tue, 24 Sep 2013 20:46:24 +0400 Subject: 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. --- print-sctp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'print-sctp.c') diff --git a/print-sctp.c b/print-sctp.c index fb5d7e3a..5a4b1e93 100644 --- a/print-sctp.c +++ b/print-sctp.c @@ -63,7 +63,7 @@ static const char rcsid[] _U_ = #define CHAN_MP 6705 #define CHAN_LP 6706 -struct tok ForCES_channels[] = { +static const struct tok ForCES_channels[] = { { CHAN_HP, "ForCES HP" }, { CHAN_MP, "ForCES MP" }, { CHAN_LP, "ForCES LP" }, -- cgit v1.2.1