| commit | e714be42902ab7d5ee2fa35052dae7f73fcf4752 | [log] [tgz] |
|---|---|---|
| author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | Mon Mar 30 09:52:11 2020 +0200 |
| committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | Mon Mar 30 09:52:11 2020 +0200 |
| tree | 67717bf9a1a51c669b850c68b8d0ae4f93aa082a | |
| parent | 52d1befa620cf336fff20334e434519b4d58e796 [diff] |
PIM: Declare const a "struct tok" array
diff --git a/print-pim.c b/print-pim.c index bbc3bad..b18933d 100644 --- a/print-pim.c +++ b/print-pim.c
@@ -123,7 +123,7 @@ #define PIMV2_DF_ELECTION_BACKOFF 3 #define PIMV2_DF_ELECTION_PASS 4 -static struct tok pimv2_df_election_flag_values[] = { +static const struct tok pimv2_df_election_flag_values[] = { { PIMV2_DF_ELECTION_OFFER, "Offer" }, { PIMV2_DF_ELECTION_WINNER, "Winner" }, { PIMV2_DF_ELECTION_BACKOFF, "Backoff" },