From 9ef440b49791aac03618b0215be2dba85c163b0b Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Mon, 12 May 1997 12:40:48 +0000 Subject: [PATCH] make word table and reverse word table constant git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1708 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/otp/otp_parse.c | 2 +- lib/otp/otp_print.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/otp/otp_parse.c b/lib/otp/otp_parse.c index 85bbd6cff..f0fa3ed51 100644 --- a/lib/otp/otp_parse.c +++ b/lib/otp/otp_parse.c @@ -48,7 +48,7 @@ struct e { unsigned n; }; -static struct e inv_std_dict[] = { +static const struct e inv_std_dict[] = { {"A", 0}, {"ABE", 1}, {"ABED", 571}, diff --git a/lib/otp/otp_print.c b/lib/otp/otp_print.c index 064fd4158..b06b3a137 100644 --- a/lib/otp/otp_print.c +++ b/lib/otp/otp_print.c @@ -43,7 +43,7 @@ RCSID("$Id$"); #include "otp_locl.h" -static char *std_dict[] = +static const char *std_dict[] = { "A", "ABE", "ACE", "ACT", "AD", "ADA", "ADD", "AGO", "AID", "AIM", "AIR", "ALL", "ALP", "AM", "AMY",