From 3674bf9ed423c5105cd30367ebe5b38f8312c00f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Thu, 3 Aug 2000 19:07:56 +0200
Subject: [PATCH] Even more const.

Rev: src/modules/_Charset/charsetmod.c:1.21
Rev: src/modules/_Charset/iso2022.h:1.2
---
 src/modules/_Charset/charsetmod.c | 14 +++++++-------
 src/modules/_Charset/iso2022.h    |  4 ++--
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/modules/_Charset/charsetmod.c b/src/modules/_Charset/charsetmod.c
index a98b921063..276ac8405f 100644
--- a/src/modules/_Charset/charsetmod.c
+++ b/src/modules/_Charset/charsetmod.c
@@ -3,7 +3,7 @@
 #endif /* HAVE_CONFIG_H */
 
 #include "../../global.h"
-RCSID("$Id: charsetmod.c,v 1.20 2000/07/28 07:15:07 hubbe Exp $");
+RCSID("$Id: charsetmod.c,v 1.21 2000/08/03 17:07:56 grubba Exp $");
 #include "program.h"
 #include "interpret.h"
 #include "stralloc.h"
@@ -39,7 +39,7 @@ struct std_cs_stor {
 };
 
 struct std_rfc_stor {
-  UNICHAR *table;
+  UNICHAR const *table;
 };
 static SIZE_T std_rfc_stor_offs = 0;
 
@@ -532,7 +532,7 @@ static void f_rfc1345(INT32 args)
 
 static INT32 feed_94(const p_wchar0 *p, INT32 l, struct std_cs_stor *s)
 {
-  UNICHAR *table =
+  UNICHAR const *table =
     ((struct std_rfc_stor *)(((char*)s)+std_rfc_stor_offs))->table;
   while(l--) {
     p_wchar0 x = *p++;
@@ -551,7 +551,7 @@ static void f_feed_94(INT32 args)
 
 static INT32 feed_96(const p_wchar0 *p, INT32 l, struct std_cs_stor *s)
 {
-  UNICHAR *table =
+  UNICHAR const *table =
     ((struct std_rfc_stor *)(((char*)s)+std_rfc_stor_offs))->table;
   while(l--) {
     p_wchar0 x = *p++;
@@ -570,7 +570,7 @@ static void f_feed_96(INT32 args)
 
 static INT32 feed_9494(const p_wchar0 *p, INT32 l, struct std_cs_stor *s)
 {
-  UNICHAR *table =
+  UNICHAR const *table =
     ((struct std_rfc_stor *)(((char*)s)+std_rfc_stor_offs))->table;
   while(l--) {
     p_wchar0 y, x = (*p++)&0x7f;
@@ -596,7 +596,7 @@ static void f_feed_9494(INT32 args)
 
 static INT32 feed_9696(const p_wchar0 *p, INT32 l, struct std_cs_stor *s)
 {
-  UNICHAR *table =
+  UNICHAR const *table =
     ((struct std_rfc_stor *)(((char*)s)+std_rfc_stor_offs))->table;
   while(l--) {
     p_wchar0 y, x = (*p++)&0x7f;
@@ -622,7 +622,7 @@ static void f_feed_9696(INT32 args)
 
 static INT32 feed_8bit(const p_wchar0 *p, INT32 l, struct std_cs_stor *s)
 {
-  UNICHAR *table =
+  UNICHAR const *table =
     ((struct std_rfc_stor *)(((char*)s)+std_rfc_stor_offs))->table;
   struct std_misc_stor *misc =
     ((struct std_misc_stor *)(((char*)s)+std_misc_stor_offs));
diff --git a/src/modules/_Charset/iso2022.h b/src/modules/_Charset/iso2022.h
index 7629119abe..80c0d35ab0 100644
--- a/src/modules/_Charset/iso2022.h
+++ b/src/modules/_Charset/iso2022.h
@@ -15,7 +15,7 @@ typedef p_wchar1 UNICHAR;
 #define MODE_9696 3
 
 struct charset_def {
-  char *name;
-  UNICHAR *table;
+  char const *name;
+  UNICHAR const *table;
   int mode;
 };
-- 
GitLab