summaryrefslogtreecommitdiff
path: root/src/myspell/phonet.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/myspell/phonet.hxx')
-rw-r--r--src/myspell/phonet.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/myspell/phonet.hxx b/src/myspell/phonet.hxx
index 471ff84..d1cf995 100644
--- a/src/myspell/phonet.hxx
+++ b/src/myspell/phonet.hxx
@@ -30,6 +30,7 @@
#ifndef __PHONETHXX__
#define __PHONETHXX__
+#define HASHSIZE 256
#define MAXPHONETLEN 256
#define MAXPHONETUTF8LEN (MAXPHONETLEN * 4)
@@ -38,8 +39,7 @@ struct phonetable {
cs_info * lang;
int num;
char * * rules;
- static const int hash_size = 256;
- int hash[hash_size];
+ int hash[HASHSIZE];
};
void init_phonet_hash(phonetable & parms);